-
Notifications
You must be signed in to change notification settings - Fork 2
Imhotep
osiris77 edited this page Mar 4, 2018
·
1 revision
Imhotep is based on an Islamic-style tile.
We first of all draw the bounding box for the tile. Then we draw the rows (spikes) Then we draw the columns (hockey sticks)
The rows are sized by the number of spikes and number of rows. The columns are sized by the downward length (which we specify) and the number of columns and 'hockey sticks'
Constant functions for Osiris (the turtle).
Keyboard presses:
-
0 - ultra-fast turtle
-
1 - slow turtle
-
4 - medium turtle
-
a - take a screenshot, you may have to pan to the top-left of the drawing. Saves out as an EPS
-
d - draws a dot in the centre of the canvas (a useful reference point)