A high-performance starter kit for building interactive applications, games, and mathematical visualizations using Rust, Winit, and WebGPU.
This project provides a robust foundation for GPU-accelerated applications. It combines a clean state-management system with a custom linear algebra library and a flexible 2D/3D rendering pipeline.
- State-Driven Architecture: A stack-based
StateManagerfor seamless transitions between menus and games. - Custom Linear Algebra: Lightweight
Vec2,Vec3,Mat3, andMat4implementations optimized for graphics. - Hybrid Rendering:
- Canvas API: High-level 2D drawing for UI and text.
- WebGPU Pipeline: Low-level access for custom shaders and 3D rendering.
- Integrated Launcher: A searchable, scrollable menu to manage and launch multiple sub-projects/examples.
- Language: Rust (Edition 2024)
- Windowing:
winit - Graphics:
wgpu(WebGPU) - Text Rendering:
glyphon&cosmic-text
Detailed guides are available in the /docs directory:
- Architecture - The state pattern and manager.
- Rendering - Canvas API and GPU pipelines.
- Linear Algebra - Math library details.
- Launcher - How to extend the application.
- Rust (latest stable)
- WebGPU compatible drivers (Vulkan, Metal, or DX12)
cargo run