@logomarks/mockups
v0.11.0
Published
Product mockups from finished artwork: vinyl, CD, cassette, poster, business cards, letterhead, tickets, wristbands, stickers, apparel, mugs, bags, boxes, phone, laptop, billboard, shopfront and bus shelter. Layered SVG, PNG via sharp in Node or a canvas
Maintainers
Keywords
Readme
@logomarks/mockups
Product mockups from finished artwork: vinyl, CDs, cassettes, posters, stationery, apparel, packaging, screens and signs, drawn as a layered SVG (sharp or a canvas to rasterise) or as a three.js scene.
Install
npm install @logomarks/mockups
npm install sharp # PNG/WebP/JPEG/AVIF in Node
npm install three # the 3D scene
npm install three-gpu-pathtracer # the path-traced merch shotsQuick start
import { vinyl, renderImage, loadArt } from '@logomarks/mockups/node';
const art = await loadArt('cover.png'); // inlined, scaled to 1600 px
const { svg } = vinyl({ art, vinyl: 'clear' }); // a double LP on light grey
const webp = await renderImage(vinyl({ art, format: 'single', vinyl: 'black', ground: 'dark' }), { format: 'webp' });What's in it
- Usage and API: the 2D and 3D entry points, every export
- Vinyl: sleeves and records, in 2D and 3D
- Print and brand: cards, tickets, lanyards, stickers, apparel, mugs, boxes; binders, a book and slipcase, stationery, a brand-identity flat lay
- Music: CDs, cassettes, posters
- Screens and signs: phone, laptop, billboard, shopfront, bus shelter; in 3D, sunglasses, a phone's corner, a keynote stage, a station lightbox, neon, a window decal, a billboard over a hedge
- Restaurant: menus, a receipt, a takeaway cup and bag, a pizza box, chopsticks, napkins
- TV: a television with a live screen
- Photo plates: art composited into real photos, printed, pressed, foiled or embroidered
Links
- Docs
- Changelog
- Licence
- GitHub
@arraypress/covers, which makes the art@logomarks/mockups-plates, the photo plates- Issues
Licence
MIT © ArrayPress Limited; author David Sherlock. Cardboard textures by David Sherlock & Trirat (ArrayPress Limited), included under the package's MIT licence.
