flythrough

command
v0.0.0-...-bff25e5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command flythrough renders a large procedural terrain with a sky gradient, distance fog, slope-and-height shading, and an instanced forest, and flies a camera over it. It measures frame times and GC pauses to show that Go drives heavy Vulkan workloads without hitching. Run:

go run ./examples/flythrough            # windowed, runs until closed/Escape
go run ./examples/flythrough -frames 1800 -n 640 -trees 16000

It prints a frame-time and GC report on exit.

Jump to

Keyboard shortcuts

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