Show HN: A CLI for quickly generating 3D device mockups
github.comDevice mockups usually require expensive and manual tools like Photoshop to generate. I was willing to sacrifice absolute quality for a tool that could do the job much faster.
Mockupgen [0] generates a 3D perspective mockup from a screenshot. Using premade templates (from the amazing work of Anthony Boyd [1]) and opencv, it masks, warps and composites the provided image onto a device rendering. I'm working on expanding the selection of devices offered (mostly MacBook and iPhone at the moment), which is a matter of finding more sources of free to use PSD mockups. Currently, it doesn't do any handling of reflections and shadows, but this is in the works.
Install with: pip install mockupgen
And run with: mockupgen screenshot.png
[0] https://github.com/rmenon1008/mockupgen [1] https://www.anthonyboyd.graphics/
No comments yet.