My first introduction to the Julia set was Daniel Shiffman's Julia Set Coding Challenge. This is an image rendered by Daniel Shiffman's P5 sketch:
The first row shows the Julia set within the Koch curve rendered with a shader in P5.js for different values of c. The code is based on the Shader Coding: KIFS Fractals explained! youtube tutorial by the Art of Code.
The second set of images were generated using the stabilityai/sdxl-turbo image2image model. I created a dataset of Julia Set kaleidoscope images using this P5.js sketch and pushed them to the Hugging Face hub using this notebook. You can try out the code with this notebook.
For the third set of images, I used fastGAN to generate the conditioning image. The model checkpoints can be found here.
Here are the images created with using conditioning images generated with JuliaGAN.
JuliaGAN Kaleidoscope |
JuliaGAN Kaleidoscope |
JuliaGAN Kaleidoscope |
JuliaGAN Kaleidoscope |
JuliaGAN Kaleidoscope |
JuliaGAN Kaleidoscope |
I am using the new p5 saveGif() function to render the GIF. The animation is created by zooming in on the Julia set for one value of c.