Shapes and Math is an interactive web application that demonstrates various mathematical visualizations and shape generators using HTML5 Canvas.
Developed by Marcelo Pinheiro
@mpinheir
Email: mpinheir@gmail.com
- Path Drawing: Create and visualize connected paths with customizable vertices
- Connections: Generate and explore network-like connections between points
- Random Shapes: Generate and animate various geometric shapes
- Stick Figures: Interactive stick figure animations
- Boxes: Dynamic box generation and manipulation
- Lorenz Attractor: Visual representation of the Lorenz system of differential equations
- 3D Torus: Interactive 3D torus visualization with rotation controls
- Adjust the number of vertices/points using the slider
- Clear the canvas with a single click
- Stop animations at any time
- Responsive design that works on different screen sizes
- Node.js 22 or newer
- npm (comes with Node.js)
-
Clone the repository
git clone https://github.com/OsProgramadores/shapes-and-math.git cd shapes-and-math
-
Install dependencies
npm ci
-
Run tests
npm test
-
Open in browser
- Simply open
index.html
in your preferred web browser - For local development, you can use a simple HTTP server like:
Then open
npx http-server
http://localhost:8080
in your browser
- Simply open
Contributions are welcome! Please ensure that all tests pass before submitting a pull request.
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
This project is open source and available under the MIT License.
Note: This project is part of the OsProgramadores community.