Skip to content

naranyala/rigorstarter-rust-winit-webgpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rigorstarter Rust Winit WebGPU

A high-performance starter kit for building interactive applications, games, and mathematical visualizations using Rust, Winit, and WebGPU.

🚀 Overview

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.

✨ Key Features

  • State-Driven Architecture: A stack-based StateManager for seamless transitions between menus and games.
  • Custom Linear Algebra: Lightweight Vec2, Vec3, Mat3, and Mat4 implementations 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.

🛠️ Tech Stack

  • Language: Rust (Edition 2024)
  • Windowing: winit
  • Graphics: wgpu (WebGPU)
  • Text Rendering: glyphon & cosmic-text

📖 Documentation

Detailed guides are available in the /docs directory:

🚦 Getting Started

Prerequisites

  • Rust (latest stable)
  • WebGPU compatible drivers (Vulkan, Metal, or DX12)

Running the App

cargo run

About

A lightweight, high-performance WebGPU boilerplate and demonstration project written in Rust. It features a high-level immediate-mode Canvas API and a complete demo suite including a fuzzy-searchable launcher and a classic Snake game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages