Jump to content

Archimedean spiral: Difference between revisions

Line 1,078:
 
</syntaxhighlight>
 
=={{header|Craft Basic}}==
<syntaxhighlight lang="basic">bgcolor 0, 0, 0
cls
fgcolor 255, 255, 0
 
let pi = 3.14
let size = 40
let a = 1.5
let b = .7
 
do
 
let r = a + b * t
 
dot r * ( cos: t ) + 200, r * ( sin: t ) + 200
let t = t + . 1
 
wait
 
loop t < size * pi
 
end</syntaxhighlight>
 
=={{header|FOCAL}}==
305

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.