Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
TriForce
168 bytes added
,
19:58, 7 March 2019
→
Assignment 1: Julia Set
'''Psuedo code'''
<nowiki>
for(Pixel pix in image){
pix.color = colorFunction(escapeValue(pix.loc, julia));
}
for
escapeValue
(
Pixel pix in image
Complex loc, Complex julia
){
pix.color
int cycles
=
colorFunction
0;
while
(
escapeValue(pix.
|loc| <=2 && ++cycles < MAXCYCLES){
loc = loc *
loc
,
+
julia
))
;
}
}
</nowiki>
=== Assignment 2 ===
=== Assignment 3 ===
Vincent Terpstra
112
edits