Welcome to the OpenGeometry Examples repository! This collection showcases the power and versatility of the OpenGeometry library through interactive demonstrations.
Experience all the examples in action directly in your browser! No installation required.
Our examples are organized into three main categories:
Fundamental 2D geometric shapes that serve as building blocks:
- Lines, Polylines, Circles/Arcs
- Rectangles and more basic forms
- Each with mathematical formulas and properties
More complex geometric forms built from primitives:
- 2D Shapes: Polygons and flat geometric forms
- 3D Shapes: Boxes, Cylinders, and volumetric objects
- Complex Shapes: Advanced forms with holes, extrusions, and operations
Each example includes:
- Live rendering and visualization
- Interactive controls and parameters
- Real-time geometry manipulation
- Educational explanations
If you want to run the examples locally:
- Clone this repository
- Install dependencies:
npm install - Start the development server:
npm run dev - Open your browser and explore!
Found a bug or have an idea for a new example? We'd love your contributions! Feel free to:
- Open an issue for bug reports or feature requests
- Submit pull requests with improvements
- Share your own geometric creations