Skip to content

nirajan-bist/mandelbrot-set-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mandelbrot-set-generator

Mandelbrot set Image generator using Javascript and WebGL

This javascript app generates Mandelbrot set and Julia set images using webgl and glsl shaders, and the result is displayed in html canvas.

Live Demo: https://shishirbhandari.github.io/mandelbrot-set-generator/

Application output

Image of Application Screen

Controls overview

Mandelbrot Set & Julia Set Toggle:

This control lets us choose between Mandelbrot Set and Julia Set. Each set produces different image.

Iterations:

Number of iterations to use to produce the image. Higher values produces more detailed thus better images.

Scale:

Scale represents zoom-in value. Combine scale and offsetX, offsetY to produce different images.

C-Real:

Value of real part of C in the Julia-set equation (f(Z) = Z2 + C), where C = x + iy thus C-Real = x;

C-Imag:

Value of imaginary part of C in the Julia-set equation, C-Imag = y

Limit:

Value of limit to use in iteration process. Limit is the value of abs(Z) beyond which the point in consideration is likely to diverge. Default limit value for Mandelbrot is 2.

Offset-X:

Offset along x-axis

Offset-Y:

Offset along y-axis

Color:

Choose the tint colour of the generated images

Blink Frequency:

Animate the blinking of the image by changing the frequency of blinking.

References

Mandelbrot set reference: https://en.wikipedia.org/wiki/Mandelbrot_set

Julia set reference: https://en.wikipedia.org/wiki/Julia_set

About

Mandelbrot set generator using Javascript and WebGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.8%
  • HTML 41.2%
  • CSS 9.0%