🌌 N-Dimensional Geometry Engine

From CS102 (2014) to Infinite Dimensions • AI-Powered • Web-Enabled

🚀 Quick Start

Transform your original CS102 sphere calculator into a powerful n-dimensional geometry engine!

📚 API Documentation 🎮 Interactive Demo 📊 3D Visualizations

✨ Features

🔢 N-Dimensional Shapes

Spheres, cubes, ellipsoids, simplices, and pyramids from 1D to 100D+

🔲 Tiling & Tessellations

Regular tilings, hexagonal patterns, Voronoi diagrams, and space-filling

🤖 AI Interface

Natural language queries like "create a 5D ellipsoid with axes 1 2 3 4 5"

☕ Original Java Integration

Your CS102 code from 2014 is preserved and executable

📈 Interactive Visualizations

Real-time 3D rendering and cross-sectional analysis

🔍 Pattern Analysis

Symmetry analysis, coverage efficiency, and mathematical properties

🔬 Try It Now

Example API calls:

# Create a 4D hypersphere curl -X POST "http://localhost:8000/api/sphere" \ -H "Content-Type: application/json" \ -d '{"dimensions": 4, "radius": 1.5}' # Create a 3D ellipsoid curl -X POST "http://localhost:8000/api/ellipsoid" \ -H "Content-Type: application/json" \ -d '{"dimensions": 3, "semi_axes": [1.0, 2.0, 3.0]}' # Create a 4D pyramid curl -X POST "http://localhost:8000/api/pyramid" \ -H "Content-Type: application/json" \ -d '{"dimensions": 4, "base_side_length": 2.0, "height": 3.0}' # Create hexagonal tiling curl -X POST "http://localhost:8000/api/tiling" \ -H "Content-Type: application/json" \ -d '{"tiling_type": "hexagonal", "dimensions": 2, "bounds": [[0, 10], [0, 10]], "side_length": 1.0}' # Create Voronoi diagram curl -X POST "http://localhost:8000/api/tiling" \ -H "Content-Type: application/json" \ -d '{"tiling_type": "voronoi", "dimensions": 2, "bounds": [[0, 10], [0, 10]], "num_random_seeds": 8}' # Natural language query curl -X POST "http://localhost:8000/api/query" \ -H "Content-Type: application/json" \ -d '{"query": "create a 5D simplex with side 2"}'

📊 Mathematical Insights

Explore how geometry behaves in higher dimensions: