Sunday, May 28, 2023

Show HN: A CLI for quickly generating 3D device mockups https://ift.tt/RFPUKYn

Show HN: A CLI for quickly generating 3D device mockups Device 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://ift.tt/TB1ZVAK [1] https://ift.tt/rjNnwyA https://ift.tt/TB1ZVAK May 29, 2023 at 01:06AM

No comments:

Post a Comment

Show HN: LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass https://ift.tt/FWgdlMe

Show HN: LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass LoopMix128 is a fast C PRNG I wrote for non-cryptographic t...