Skip to content

kfahn22/julia_kaleidoscope

Repository files navigation

Julia Set Kaleidoscope

This repository contains visualizations of the Julia Set.

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:

Julia set kaleidoscope

Gallery

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.

Julia Kaleidoscope
c = (-0.6999, 0.37999)
Julia Kaleidoscope
Julia Kaleidoscope
c = (-0.70176, 0.3842)
Julia Kaleidoscope
Julia Kaleidoscope
c = (0.285, 0.01)
Julia Kaleidoscope
Mandelbulb Kaleidoscope

Mandelbulb Kaleidoscope
JMandelbulbKaleidoscope

Mandelbulb Kaleidescope
Mandelbulb Kaleidoscope

Mandelbulb Kaleidoscope
Mandelbulb Kaleidoscope

Mandelbulb Kaleidoscope
Mandelbulb Kaleidoscope

Mandelbulb Kaleidoscope

Here are the images created with using conditioning images generated with JuliaGAN.

JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope
JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope
JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope
JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope
JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope
JuliaGAN Kaleidoscope

JuliaGAN Kaleidoscope

Animation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages