Little AI vibe coding experiment for adding screenshots or screen casts to device mockups and generate images or animations.
Try here: https://roncz.github.io/3d-mockup/

A standalone, single-file HTML/WebGL application built with Three.js to compose, animate, and export high-resolution 3D device mockups directly in your browser.
index.html in any modern web browser (desktop or mobile).| Button | Action |
|---|---|
| Rotate | 1-finger / left-click drag to rotate with automatic horizontal (yaw) or vertical (pitch) axis locking. |
| Move | 1-finger / left-click drag to translate across screen space with auto-axis locking. |
| Free | Unconstrained, diagonal view-space rotation. |
| Move Local X / Y | Drags the device along its own physical 3D chassis axes (ideal for slides when tilted). |
| Horizon Lock | Keeps the phone upright relative to the horizon plane, preventing unwanted roll. |
| Center X / Y / Center | Centers the optical 2D screen silhouette within the viewport. |
| Fit View | Automatically reframes camera distance so the device fills the canvas with a 5px safe margin. |
| Lying / Front / Iso / Reset | Quick-align view presets. |
Note: This project is 100% AI vibe-coded to scratch my own itch. There are rough edges, quirks, and almost certainly bugs. Use it at your own risk.
8 commits
HTML
100.0%
Little AI vibe coding experiment for adding screenshots or screen casts to device mockups and generate images or animations.
Try here: https://roncz.github.io/3d-mockup/

A standalone, single-file HTML/WebGL application built with Three.js to compose, animate, and export high-resolution 3D device mockups directly in your browser.
index.html in any modern web browser (desktop or mobile).| Button | Action |
|---|---|
| Rotate | 1-finger / left-click drag to rotate with automatic horizontal (yaw) or vertical (pitch) axis locking. |
| Move | 1-finger / left-click drag to translate across screen space with auto-axis locking. |
| Free | Unconstrained, diagonal view-space rotation. |
| Move Local X / Y | Drags the device along its own physical 3D chassis axes (ideal for slides when tilted). |
| Horizon Lock | Keeps the phone upright relative to the horizon plane, preventing unwanted roll. |
| Center X / Y / Center | Centers the optical 2D screen silhouette within the viewport. |
| Fit View | Automatically reframes camera distance so the device fills the canvas with a 5px safe margin. |
| Lying / Front / Iso / Reset | Quick-align view presets. |
Note: This project is 100% AI vibe-coded to scratch my own itch. There are rough edges, quirks, and almost certainly bugs. Use it at your own risk.
8 commits
HTML
100.0%