Homebrew 4D Game Engine In Rust, inspired by Engine4D
README.md

Rust4D Documentation #

Welcome to the Rust4D documentation. This is a 4D rendering engine written in Rust that displays real-time 3D cross-sections of 4D geometry.

Documentation Guides #

Guide Description Audience
Getting Started Installation, first steps, 4D concepts New users
User Guide Comprehensive feature reference All users
Developer Guide Architecture, algorithms, contributing Contributors
The Mathematics of Rust4D Rotors, SkipY, slicing, the slice invariant, conventions Contributors
Shape Catalog Built-in 4D primitives, construction math, scene syntax, verification Users & contributors

Quick Start #

# Clone and run
git clone https://github.com/sigilmakes/Rust4D
cd Rust4D
cargo run --release   # or: nix develop --command cargo run --release

# Run an example
cargo run --example 01_hello_tesseract --release

Documentation Structure #

docs/
├── README.md           <- You are here
├── getting-started.md  <- Start here if new
├── user-guide.md       <- Feature reference
└── developer-guide.md  <- For contributors

Additional Resources #

Learning Path #

  1. New to Rust4D? Start with Getting Started
  2. Building something? Reference the User Guide
  3. Want to contribute? Read the Developer Guide

Getting Help #

  • Check the Troubleshooting section
  • Open an issue on GitHub
  • Read the inline documentation: cargo doc --open

Controls Quick Reference #

Input Action
WASD Move in XZ plane
Q / E Move along W-axis (4th dimension)
Space / Shift Move up/down
Mouse Look around
Right-click drag Rotate through W
Escape Release cursor / Quit