mygo-render
Installation
SKILL.md
mygo render
The render plugin turns Go code into finished videos. Each frame is a view built from
package ui's widgets (text, boxes, real controls), the plugin draws the frames like a
window's — Metal on macOS, Direct3D 11 on Windows, OpenGL otherwise, or the CPU renderer
where no GPU one starts — and the system's encoder writes the file (AVFoundation on macOS,
Media Foundation on Windows, GStreamer on Linux; ffmpeg only if asked). No browser runs, no
cgo, no JavaScript. A 1920x1080 frame costs a millisecond or two of CPU while the GPU draws.
Requires Go 1.27+. Validated on go1.27.4 darwin/arm64 with mygo v0.10.0: a 90-frame 1280x720 MP4 rendered in 620 ms.
Setup
mkdir demo && cd demo
go mod init demo
go get github.com/egoist/mygo/plugins/render