Iteration Count:
Canvas Color:
Fractal Background Color:
Fractal Color:
This is simple Sierpinski Carpet demo application. It's implemented with Vanilla JS, some Bootstrap elements and WebGL! Below, you will see usage of the demo.
Main Usage: You are able to define a rectangular region by dragging the mouse where the Sierpinski fractal will be generated. Once mouse button is released, fractal will be generated and displayed. If you defines annother region, new fractal will be generated in this region and existing fractal will be removed
Side Options: You are able to specify the number of iterations that is used to generate the Sierpinski carpet.
You are able to change all colors in the fractal.
You are able to change display mode from filled to lines.
You are able to load and save your fractals.
You can change side options by clicking the "Settings" button on the navigation bar at top. When you click to that button, a new window will pop up. Window will look something like this the photo at the right. Let's explain these options;
Iteration Count means the iteration count for Sierpinski Fractal. I don't suggest something higher than 4 for this(Max is 5)
Canvas Color means color of the canvas. It's the outside of our fractal.
Fractal Background Color means color of the fractal's background. And Fractal Color means color of the our fractals
Filled View checkbox is for changing the filled view and line view. If its checked, then its Polygon view.