Flat screenshots feel static. Betterflow’s 3D transform system applies CSS perspective transforms directly to your image, giving it realistic depth and spatial presence in seconds. With over 30 built-in presets and individual axis controls, you can reproduce the exact camera angles used by Apple, Vercel, and other design-forward teams — and export the result at full resolution with perfect CSS fidelity.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/betterspacx/app/llms.txt
Use this file to discover all available pages before exploring further.
How CSS 3D Transforms Work
Betterflow uses native CSS 3D transforms viaperspective, rotateX, rotateY, rotateZ, translateX, translateY, and scale properties applied to the image container. The browser’s GPU compositor handles the actual rendering, which means transforms are smooth, sub-pixel accurate, and don’t degrade image quality.
The perspective property sets the distance (in pixels) between the viewer’s eye and the z=0 plane. Lower values produce more dramatic, fish-eye-like depth; higher values create a subtle, telephoto-style depth effect.
Animatable Properties
These are the eight properties that the 3D transform system can control, both interactively and through the animation engine:The Perspective3DControls Component
ThePerspective3DControls component lives in the right-side panel of the editor. It provides:
- Preset Gallery — Browse and apply 30+ named presets organized by visual style
- Per-axis sliders — Fine-tune
rotateX,rotateY,rotateZ,translateX,translateY, andscaleindividually after applying a preset - Perspective depth slider — Adjust the CSS
perspectivevalue from wide-angle to telephoto - Reset button — Returns all properties to their default values instantly
Preset Categories
Presets are organized into five categories, covering the most common use cases for 3D-transformed product screenshots:- Reveal
- Perspective
- Orbit
- Depth
- Flip
Entrance animations designed to start in a transformed state and land flat. Useful as static starting frames for marketing images.
| Preset | rotateX | rotateY | Notes |
|---|---|---|---|
| Hero Entrance | 25° | 0° | Tilted back, scale 0.95 |
| Slide In 3D | 0° | 30° | Right-side entry |
| Rise & Settle | –15° | 0° | Bottom-up with scale 0.97 |
| Drop In | 12° | 0° | Top-down with scale 0.97 |
Export with 3D Transforms
Standard DOM-to-canvas tools like html2canvas do not correctly render CSS 3D perspective transforms. Betterflow detects when any 3D transform is active and automatically switches tomodern-screenshot (domToCanvas) for the capture step:
modern-screenshot walks the DOM subtree and re-renders each element as a canvas layer, preserving 3D transforms, box shadows, CSS filters, and border-radius at the specified export scale. If modern-screenshot fails for any reason, Betterflow falls back to the standard domToCanvas HTML canvas path.
Video exports with 3D transforms use the same
capture3DTransformWithModernScreenshot function for every frame, with skipDelay: true to skip the style-settle wait — keeping frame-rate performance as high as possible.