Photo Tile Maker - fotojockovic.com/tiles ========================================= A photo and text on a sublimation ceramic tile (one tile, 10 x 10 to 20 x 30 cm), or one picture split over a tile mural (cols x rows tiles with grout joints, e.g. a kitchen backsplash): crop and zoom, text, a 3D preview (tile on an easel or lying flat; mural on a kitchen wall, a plain wall or a photo of your own wall), a 300 DPI print file per tile (PNG, PDF with the cut outline on a non-printing layer, outline SVG, optionally mirrored), a numbered layout sheet and mockups. Everything runs in the browser; no photo leaves the device. Our own work (MIT, Foto Jocković): the product definitions (products.js), the layout engine (layout.js), the own-wall mockup (roomwarp.js: homography + triangle mesh), the procedural 3D tile (rounded corners, eased glazed edge, unglazed sides, ribbed back, gloss / matte glaze with orange-peel waviness), the wooden easel, the kitchen and wall scenes (plaster, quartz worktop, cabinet fronts, floor boards), all generated from seeded noise at run time in src/view3d.js (no third-party models, textures, photos or HDRIs), the studio lighting, the UI, texts and translations, og.jpg, the start-screen pictures and the hub card pictures (rendered by this tool). The PNG (pHYs / sRGB), PDF (with an optional-content guide layer) and SVG writers are the site's shared /static/tools/common/printfile.js (also used by /mug and /stone); the ZIP writer is FotoJock's /static/tools/fotojock/core/zip.js. Product sizes: common sublimation-tile blanks; see products.js ([I] notes). Third-party code shipped to the browser: 1. three.js r186 (npm three 0.186.1), incl. OrbitControls and RoundedBoxGeometry from its examples, three.js authors - MIT. https://github.com/mrdoob/three.js Bundled and minified into view3d.js (loaded when the 3D view starts). Licence: LICENSE-three.txt 2. Fonts (SIL Open Font License 1.1), self-hosted under /static/tools/common/fonts// with each OFL.txt: Inter Tight, Instrument Serif (UI); Montserrat, Playfair Display, Caveat, Pacifico, Lobster, Noto Sans (text on the tile). Rules in /static/tools/mug/fonts.css (shared with the mug maker). 3. Shared site code: /static/tools/common/i18n.js, rail.js, sheets.js, apphdr.js, printfile.js, FotoJock's zip.js and the text-font list of /static/tools/mug/layout.js (Foto Jocković). Sample photos (not modified; thumbnails in img/ were made from them): wave.jpg Katsushika Hokusai, "Under the Wave off Kanagawa (The Great Wave)", The Metropolitan Museum of Art, Open Access, CC0 (/puzzle sample) portrait.jpg "Smile with Freckles (Unsplash).jpg" by Gabriel Silverio, Wikimedia Commons, CC0 1.0 https://commons.wikimedia.org/wiki/File:Smile_with_Freckles_(Unsplash).jpg (/collage sample) butterfly.jpg "Agraulis vanillae at Isla Margarita.jpg", Wikimedia Commons, CC0 1.0 https://commons.wikimedia.org/wiki/File:Agraulis_vanillae_at_Isla_Margarita.jpg (/collage sample) mountains.jpg "Cloudy Skies Over Mountains (Unsplash).jpg", Wikimedia Commons, CC0 1.0 (/collage sample) Build-time only (not shipped): esbuild (MIT); puppeteer-core (Apache-2.0) for tests and images.