cube-zig#
Spinning cube in zig You can build it only with 0.15.0 dev version of zig. If you want to build it with lower version, fix stdout code. This project is rewriting c code from this repo https://github.com/saatvikrao/Spinning-Cube!
For self-hosted knots, clone URLs may differ based on your setup.
Download tar.gz
Signed-off-by: moderation <michael@sooper.org>
Replace removed std.fs.File/deprecatedWriter with std.Io.File.stdout()
and std.process.Init-based main. Replace std.Thread.sleep with io.sleep.
Fix sleep duration from 16us to 16ms for proper ~60fps timing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Spinning cube in zig You can build it only with 0.15.0 dev version of zig. If you want to build it with lower version, fix stdout code. This project is rewriting c code from this repo https://github.com/saatvikrao/Spinning-Cube!