random-figures
v1.0.1
Published
README.md for JavaScript Geometric Shape Generator Script
Downloads
3
Readme
README.md for JavaScript Geometric Shape Generator Script
JavaScript Geometric Shape Generator
This repository contains JavaScript code for generating random geometric shapes on a canvas element.
Features:
Generate various shapes: circles, squares, triangles, pentagons (and more). Randomly select the color and size of the shapes. Animate the rotation of the shapes. User interaction: dragging, rotating, clicking. How to use:
Copy the code from the script.js and randomizer.js files into your project. Reference these files in your HTML code. Run your HTML file in a browser. Example:
HTML
Additional:
You can modify the code to add new shapes, parameters, or features. You can use this code in your projects or websites. Please leave feedback or report bugs if you encounter any. License:
This code is licensed under the MIT License.