Skip to content

raisingpixels/shapes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ถ ๐Ÿ”ท โญ Fun with Shapes! โญ ๐Ÿ”ท ๐Ÿ”ถ

  _____ _    _ _   _   __          _____ _______ _    _    _____ _    _          _____  ______  _____ 
 |  ___| |  | | \ | |  \ \        / /_ _|__   __| |  | |  / ____| |  | |   /\   |  __ \|  ____|/ ____|
 | |__ | |  | |  \| |   \ \  /\  / / | |   | |  | |__| | | (___ | |__| |  /  \  | |__) | |__  | (___  
 |  __|| |  | | . ` |    \ \/  \/ /  | |   | |  |  __  |  \___ \|  __  | / /\ \ |  ___/|  __|  \___ \ 
 | |   | |__| | |\  |     \  /\  /  _| |_  | |  | |  | |  ____) | |  | |/ ____ \| |    | |____ ____) |
 |_|    \____/|_| \_|      \/  \/  |_____| |_|  |_|  |_| |_____/|_|  |_/_/    \_\_|    |______|_____/ 
                                                                                                       

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.

๐ŸŒˆ What is this amazing repository?

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!)

โœจ Features

  • 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!

๐Ÿš€ Getting Started

  1. Clone this repository:
git clone https://github.com/raisingpixels/shapes.git
  1. Open index.html in your browser
  2. Prepare to be geometrically amazed! โœจ

๐Ÿ” Project Structure

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! ๐Ÿคซ)

๐ŸŽฎ How to Play

  1. 2D Shapes: Click on any shape to reveal its name and see it animate with a satisfying pop!
  2. 3D Shapes: Click to see the shape rotate in glorious three dimensions!
  3. Dark Mode: Switch your system to dark mode to experience NEON GEOMETRY PARADISE!

๐Ÿง  Shape Fun Facts

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.

๐Ÿ”ง Technical Details

This project is built with:

  • HTML5
  • CSS3 with variables and media queries
  • Vanilla JavaScript
  • Three.js for 3D rendering
  • Love and geometric precision

๐Ÿ‘ฉโ€๐Ÿ’ป Contributing

Found a bug? Want to add the 4D hypercube? Contributions are welcome!

  1. Fork the repo
  2. Create a branch: git checkout -b add-dodecahedron
  3. Make changes: vim add-cool-shape.js
  4. Push changes: git push origin add-dodecahedron
  5. Open a PR

๐Ÿ“ License

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! ๐ŸŽ‰

About

2D and 3D shapes that reveal their names and spin when you click them!

Topics

Resources

Stars

Watchers

Forks

Languages