compute-particles

command
v0.26.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command compute-particles demonstrates a GPU particle simulation using a compute shader. Particles attract toward the center and repel from sampled neighbors. Results are read back to CPU each step.

The example is headless (no window required) and works on any supported GPU. For a windowed version with real-time rendering, see gogpu/examples/particles.

Usage: CGO_ENABLED=0 go run .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL