An open API service indexing awesome lists of open source software.

https://github.com/ed-2100/glowing_dots-rs

A new Rust version of a small demo program I made a while ago.
https://github.com/ed-2100/glowing_dots-rs

compute-shader demo-project graphics-programming rust wgpu winit

Last synced: 29 days ago
JSON representation

A new Rust version of a small demo program I made a while ago.

Awesome Lists containing this project

README

        

# Glowing Dots Demo

![A screenshot of the program running](images/Screenshot_20250216_070241.png)

A GPU-accelerated demo showing animated glowing dots using Rust and wgpu.

This builds off of the CPU-based glowing_dots demo program [here](https://github.com/ed-2100/C-CPP-Monorepo).

## Features

- Real-time GPU-accelerated rendering using compute shaders (>10,000 fps on iGPU)
- Bayer dithering
- Smooth animations with proper gamma correction
- Window resizing support with maintained aspect ratio
- FPS counter display
- Cross-platform support via wgpu

## Requirements

- Rust (nightly toolchain)
- A GPU with Vulkan/Metal/DX12 support
- Linux/MacOS/Windows

## Running

```sh
cargo run --release

# To disable the framerate limit, use:
cargo run --release -- --turbo
```