Skip to content

ngynkvn/zigscene

Repository files navigation

zigscene

Audio visualization experiment using zig and raylib.

Built against 0.14.0-dev.2605+136c5a916

Getting Started

Note

This project uses the nightly master build for zig, which frequently introduces breaking changes to the language. While this allows us to use the latest features and improvements, it may:

  • Break unexpectedly when updating Zig versions

  • Contain code patterns that don't work in stable Zig releases

  • Require periodic updates to maintain compatibility

    To build this project, you'll need to use Zig's master branch. You can download the latest nightly build from https://ziglang.org/download/.

    I also recommend using zigup or zvm to install and manage zig versions.

You should have:

  • This repository:

    git clone https://github.com/ngynkvn/zigscene
    cd zigscene
  • zig available in PATH.

    • Ensure zig version outputs 0.14.0-dev.2605+136c5a916
# Build the project
zig build

# Build and run
zig build run

# Build with release optimization
zig build -Doptimize=ReleaseFast

# Run tests
zig build test

Usage

zig build run, then drag and drop an audio file onto the window. Simple hotkeys are available: TODO

Screenshots

example example example example