Julia set: Difference between revisions

No edit summary
(→‎{{header|Wren}}: Added image)
 
(3 intermediate revisions by 2 users not shown)
Line 336:
{{trans|VBScript}}
{{works with|BBC BASIC for Windows}}
<syntaxhighlight lang="bbcbasic"> DIM Pix&(1011)
$^Pix&(0)="@$%#*+=-:. " : REM Let's inverse :-)
FOR Y=-1.0 TO 1.0 STEP 1/15
Line 344:
I%=0
WHILE I% < 100
ZR1=ZR * ZR - ZI * ZI - 0.79
ZI=ZR * ZI * 2 + .15
ZR=ZR1
Line 4,120:
=={{header|Wren}}==
{{libheader|DOME}}
<syntaxhighlight lang="ecmascriptwren">import "graphics" for Canvas, Color
import "dome" for Window
 
Line 4,168:
 
var Game = JuliaSet.new(800, 600)</syntaxhighlight>
 
{{out}}
[[File:Wren-Julia_set.png|400px]]
 
=={{header|XPL0}}==
9,490

edits