|
Post by serge on Apr 10, 2020 12:55:24 GMT -5
During this boring confinement, i try to learn new soft coding langage. here are image i created with my code: Fractale set of Julia: Fractale set of Mandelbrot if u want to get the code feel free to contact me I'll give u my code.
|
|
|
Post by devon on Apr 10, 2020 16:14:05 GMT -5
Isn't it like that equation or something? Like Zn+1=Zn^2+C? Real cool that you can code fractales
|
|
|
Post by serge on Apr 11, 2020 0:34:41 GMT -5
Isn't it like that equation or something? Like Zn+1=Zn^2+C? Real cool that you can code fractales Exactly @devon!!! the Complex suite Zn is defined by:
with parameters Zo and C being complex like a+i*b
we observe the convergence of this suite. it is demonstrated that if the abs(Zn) goes greater than 2, Zn diverge.
the map can be built by fixing either Zo(Julia set) or C(Mandelbrot set), the remaining parameter is built from the point of the map as point x,y becomes a complex x+y*i.
when the complex Zn diverge(ie abs(Zn)>2), we get the n, for each point of the map and convert it to a color.
I used the complex manipulation subcode from princeton university and develop a proper fractale code (both codes are in attachement). I used TIDE as integrated Development environment(IDE), but u can use other like eclipse, all are free and available in internet. Attachments:fractale.java (2.52 KB)
Complex.java (5.54 KB)
|
|