GET/flipbookv1.2.0 · macOS · MIT
$ flipbook render scene.swift

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.

requires:Apple Silicon · macOS 15+ · Xcode 16+input:one .swift file, or a folder with main.swiftsource:github.com/IKatsuba/flipbook · MIT
Made with Flipbook. A stack of pages becomes an animation, then Swift code becomes a video: typing, springs and a timeline you can scrub. 31.5 seconds, 1080p, 60 fps, no audio. Read the scene source.
/flipbook/features3 items · application/json
01

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.

02

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.

03

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.

POST/flipbook/installbrew · Apple Silicon
brew tap ikatsuba/tap
brew trust ikatsuba/tap
brew install flipbook
flipbook doctor

Xcode supplies the Swift compiler; Metal draws the frames on your Mac. The doctor command checks the toolchain and rendering support.

POST/flipbook/renderSwift → MP4
flipbook new hello.swift
flipbook still hello.swift --frame 60
flipbook preview hello.swift
flipbook render hello.swift --codec h264 --out hello.mp4

Start 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.