Type a Formula, Render Art: Build an Interactive Fractal Generator in 2026
For this project I wanted something new. Something that involves art. A new type of art. I wanted to combine mathematics visuals with formulas so you can experiment and create your own art.
But how?
You change the numbers and exponents, add z or c, and create your own art. Your imagination is the limit. What I created is a fractal laboratory.
You can:
- Enter the data.
- View the shape.
- Download it as a PNG or SVG.
What is fractal art?
In simple terms, fractal art is digital art created using mathematical formulas and repeated patterns rather than drawing every shape manually.
In another way, fractal art is a form of art that uses mathematics to display perfect geometric shapes. That could not be created manually.
The fun part of the code:
The full code:
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Responsive Mathematical Fractal Generator</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/11.8.0/math.js"></script> <style>...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE