A simple web app that generates fractal flower patterns based on a user-entered seed (word or number). Each petal edge is drawn using a recursive Koch-curve algorithm, producing self-similar, snowflake-like detail. Built with HTML, CSS, and JavaScript.
- User inputs a seed (word or number).
- Generates a unique fractal flower pattern using Koch curves.
- Customizes depth, number of petals, and color based on the seed.
- Responsive and easy-to-use UI.
- Clone the repository:
git clone https://github.com/yourusername/fractal-flower-gen.git
cd fractal-flower-generator -
Open
index.htmlin your browser. -
Enter a word or number seed, click Generate, and enjoy the fractal art!
- Change colors for each level of depth.
- Increase petal count for more complexity.
- Specific user input for depth level and color choice.
- A button to save the image as a PNG/JPG file.
- index.html — Main webpage with input, button, and canvas.
- styles.css — Styling for layout and controls.
- script.js — JavaScript code for fractal generation.
MIT License © Cathy Patton
