Skip to content

Julia V1.0

Choose a tag to compare

@Aatricks Aatricks released this 04 Apr 09:12
· 6 commits to main since this release
154e2da

The julia_set function works by creating a 2D array of size x_res*y_res, and then filling it with the iteration ratio of each pixel (the number of iterations it took to reach the max_iter value) and then plotting it using imshow from matplotlib (the iteration ratio is used to determine the color of each pixel).

The generator works with all types of resolutions although it is recommended to use even and similar numbers for x_res and y_res.