Videos from SwiftUI views.
Write a scene in Swift. Give every frame a view. Flipbook compiles it and renders a video on your Mac — titles, motion graphics, product demos, or anything you can draw in SwiftUI.
a frame is a function
Position, colour, text and opacity come from the frame number. Springs, easing, typing and sequences give a SwiftUI view its timeline.
check before encoding
Preview the timeline in a window or save any frame as a PNG. Render just a range of frames while you work on one scene.
ready to export
H.264 and HEVC for sharing, ProRes for editing, and ProRes 4444 for transparency. Add an audio file or render the same scene at 4K.
brew tap ikatsuba/tap
brew trust ikatsuba/tap
brew install flipbook
flipbook doctorXcode supplies the Swift compiler; Metal draws the frames on your Mac. The doctor command checks the toolchain and rendering support.
flipbook new hello.swift
flipbook still hello.swift --frame 60
flipbook preview hello.swift
flipbook render hello.swift --codec h264 --out hello.mp4Start with a working scene, inspect a frame, then play the timeline and export. Run flipbook skill for the scene-writing guide, with API examples for you and your coding agent.