Sierpinski triangle/Graphical: Difference between revisions
→{{header|Evaldraw}}: add gif of Sierpinski build
(→{{header|evaldraw}}: add sierpinski solution) |
(→{{header|Evaldraw}}: add gif of Sierpinski build) |
||
Line 1,191:
This makes use of sleep(millis); and refresh(); in the middle of a function to do the slow animation of triangles.
[[File:Evaldraw sierpinski.gif|thumb|alt=refresh allows for drawing outside the main () function|With sleep() we wait 1 milli before redraw any pixels with refresh()]]
<syntaxhighlight lang="c">
static calls=
() {
setcol(255,255,255);
|