|
|
|
|
|
by fantasyui-com
3438 days ago
|
|
Hey, I made something similar, a pure shell version with ImageMagick here: https://github.com/fantasyui-com/mockup (MIT) I decided to punch holes in the device image and then distort the user's image to fit the hole. See lib/laptop1/source.bash to glance what it takes to fit an image into a laptop similar to yours with shell and ImageMagick alone. If I had to do it again, I would use HTML/CSS to assemble the graphics and then screenshot it with something like pageres (see npm). It is easy to critique our behemoths, when someone tells you using Electron/AngularJS in a title bar is too heavy, remind them that Electron/JavaScript has SVG, Canvas, fantastic (mind blowing) Web Audio and that's just to scratch the surface. If I may suggest a new idea for you do the drum machine like here https://github.com/maryrosecook/drum-machine <3 |
|