Anonymous user
Polyspiral: Difference between revisions
m
formatting of task description
m (formatting of task description) |
m (formatting of task description) |
||
Line 3:
A [http://www.otherwise.com/Jurtle/screenshots_win/assets/DisplayWindow_Full.png Polyspiral] is a spiral made of multiple line segments, whereby each segment is larger (or smaller) than the previous one by a given amount. Each segment also changes direction at a given angle.
'''The task''': animate a series of polyspirals, by drawing a complete spiral then incrementing the angle, and (after clearing the background) drawing the next, and so on. Every spiral will be a frame of the animation. The animation may stop as it goes full circle or continue indefinitely. The given input values may be varied.▼
;Task
▲
If animation is not practical in your programming environment, you may show a single frame instead.▼
;Pseudo code
<pre>
set incr to 0.0
Line 27 ⟶ 33:
</pre>
▲If animation is not practical in your programming environment, you may show a single frame instead.
<br><br>
|