render

command
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Render makes a video of native UI with the render plugin: a six second promo at 1920×1080 and 30 frames a second, with sound, whose frames draw on the GPU, as a window's do, and encode with the system's encoder.

go run ./examples/render                    # promo.mp4
go run ./examples/render -o promo.mov -codec prores
go run ./examples/render -o frames/%04d.png # PNGs
go run ./examples/render -renderer cpu      # on the CPU
go run ./examples/render -preview           # plays it in a window

The view is package ui's: text, boxes and real widgets, a switch, a slider and a progress bar, moved by the frame's number (Interpolate, Spring) and by ui's own animations, which follow the video's clock. The sound is made here too: plucks of a sine, played where the scenes start.

Jump to

Keyboard shortcuts

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