CMC logo Cave Man Code

skrib

also written: draw

Drawing

Draw on the picture window (OGABOOGA CODER's Draw tab).

How to write it

skrib circle <x>, <y>, <r>
skrib dot <x>, <y>, <r>      ugg filled circle
skrib line <x1>, <y1>, <x2>, <y2>
skrib box <x>, <y>, <w>, <h> ugg outline rectangle
skrib blob <x>, <y>, <w>, <h> ugg filled rectangle
skrib write "words", <x>, <y>
skrib color "red"            ugg names or "#ff8800"
skrib size <w>, <h>          ugg picture size
skrib clear                  ugg wipe the picture

What it does

skrib (caveman for scribble) draws on the picture. The spot 0, 0 is the top-left corner. x goes right, y goes down.

Colors can be names like "red", "blue", "gold" or hex colors like "#ff8800".

Example

skrib size 400, 400
skrib color "orange"
skrib circle 200, 200, 100
skrib color "black"
skrib dot 200, 200, 10
skrib write "SUN!", 175, 320

Tips

See also

wait · booga · munga

Back to all words