_____ _ _ _ _ __ _____ _______ _ _ _____ _ _ _____ ______ _____
| ___| | | | \ | | \ \ / /_ _|__ __| | | | / ____| | | | /\ | __ \| ____|/ ____|
| |__ | | | | \| | \ \ /\ / / | | | | | |__| | | (___ | |__| | / \ | |__) | |__ | (___
| __|| | | | . ` | \ \/ \/ / | | | | | __ | \___ \| __ | / /\ \ | ___/| __| \___ \
| | | |__| | |\ | \ /\ / _| |_ | | | | | | ____) | | | |/ ____ \| | | |____ ____) |
|_| \____/|_| \_| \/ \/ |_____| |_| |_| |_| |_____/|_| |_/_/ \_\_| |______|_____/
WARNING: Excessive exploration of these shapes may cause extreme joy, geometric fascination, and an urge to explain the difference between a dodecahedron and an icosahedron at parties! Proceed with caution.
Fun with Shapes is a delightful, interactive web application that lets you explore the wonderful world of 2D and 3D shapes! Click, play, and watch shapes come alive with animations, rotations, and bright colors.
Perfect for:
- ๐ถ Kids learning about geometry
- ๐ง Visual learners
- ๐จ Design enthusiasts
- ๐ค Anyone who secretly thinks geometry is cool (it is!)
- 2D Shape Gallery: Circle, square, triangle, and many more friends!
- 3D Shape Extravaganza: Cubes, spheres, and pyramids - oh my!
- Interactive Elements: Click to reveal names, trigger animations, and rotations
- Responsive Design: Looks great on devices of all shapes and sizes (see what we did there?)
- Dark Mode Support: Vaporwave neon aesthetics when the lights go out!
- Clone this repository:
git clone https://github.com/raisingpixels/shapes.git- Open
index.htmlin your browser - Prepare to be geometrically amazed! โจ
fun-with-shapes/
โโโ index.html # 2D shapes page
โโโ 3d-shapes.html # 3D shapes page
โโโ README.md # You are here!
โโโ .secret-shape # Don't look in here... (or do! ๐คซ)
- 2D Shapes: Click on any shape to reveal its name and see it animate with a satisfying pop!
- 3D Shapes: Click to see the shape rotate in glorious three dimensions!
- Dark Mode: Switch your system to dark mode to experience NEON GEOMETRY PARADISE!
Click to expand some shape-tastic trivia!
- A circle has infinite sides, if you think about it...
- The pyramids of Egypt are actually square-based pyramids, not true tetrahedrons
- A cube has 8 vertices, 12 edges, and 6 faces
- The word "sphere" comes from the Greek "sphaira" meaning "ball"
- Hexagons are the most efficient shape for tiling a plane, which is why bees use them!
๐ก Hidden Konami Code
Try pressing: โ โ โ โ โ โ โ โ B A on any page... if you know, you know.
This project is built with:
- HTML5
- CSS3 with variables and media queries
- Vanilla JavaScript
- Three.js for 3D rendering
- Love and geometric precision
Found a bug? Want to add the 4D hypercube? Contributions are welcome!
- Fork the repo
- Create a branch:
git checkout -b add-dodecahedron - Make changes:
vim add-cool-shape.js - Push changes:
git push origin add-dodecahedron - Open a PR
This project is licensed under the MIT License.
Made with โค๏ธ and ๐ for Shape Enthusiasts Everywhere
P.S. If you've read this far, you're officially a shape nerd now. Welcome to the club! ๐