Mac's Nachtmarkt

I'm a physician in Bangkok and I write software for clinical research.

Setting up the market…

Read the text version instead

How to visit

Read every section as plain text

Credits

Music: “Lanterns After Closing”, an original ballad for this site. Piano: Salamander Grand Piano by Alexander Holm (CC BY 3.0). Tenor sax: MTG Solo Saxophones by the Music Technology Group, UPF (freesound.org), SFZ by kinwie (CC BY 4.0). Bass: Karoryfer Meatbass (CC0). Drums: Swirly Drums by Karoryfer Samples (brushes, CC0) and Virtuosity Drums by Versilian Studios and Karoryfer Samples (kick, CC0). If the recording cannot play, a stand-in band uses the FluidR3 GM soundfont by Frank Wen (CC BY 3.0) and Tone.js drum samples (MIT). All credits.

Credits: every third-party asset, with its source and licence

Carpenter (stalls, blender/lib)

Asset Used for Source Licence
UnifrakturCook Glühwein, Bier vom Fass, Lebkuchen, Käse signs; the 'Frisch vom Fass' crest on the Bierstand board (round 6) https://github.com/google/fonts/tree/main/ofl/unifrakturcook SIL Open Font License 1.1
IM Fell English Italic (IM Fell types, digitised by Igino Marini) Bücher, Kerzen, Crêpes signs https://github.com/google/fonts/tree/main/ofl/imfellenglish SIL Open Font License 1.1
Alegreya SC (Huerta Tipográfica) Bratwurst, Gebrannte Mandeln, Holzspielzeug, Christbaumschmuck, Heiße Maroni, Kartoffelpuffer signs; the six Bücherstand category signs (round 3); the 'Speisekarte' header of the Bratwurst menu board (round 6); contact-sheet labels https://github.com/google/fonts/tree/main/ofl/alegreyasc SIL Open Font License 1.1
UnifrakturMaguntia, IM Fell English SC Bundled in blender/lib/fonts/ as state.font("fraktur") and state.font("fell_sc") for other builders; no carpenter sign or shipped model uses them https://github.com/google/fonts/tree/main/ofl/unifrakturmaguntia and .../imfellenglishsc SIL Open Font License 1.1

Engineer (site/)

Asset Used for Source Licence
three.js (incl. GLTFLoader, post-processing passes, meshopt decoder) 3D engine https://github.com/mrdoob/three.js MIT
troika-three-text, with troika-three-utils and troika-worker-utils (ProtectWise) Crisp SDF text in the market: the chalkboards, Bierdeckel, menu, wrapping paper, book pages, sheet music, noticeboard and ticket https://github.com/protectwise/troika MIT
webgl-sdf-generator and bidi-js (Jason Johnston; troika's dependencies) Glyph signed-distance fields; bidirectional text layout https://github.com/lojjic/webgl-sdf-generator, https://github.com/lojjic/bidi-js MIT
Caveat (The Caveat Project Authors), via Fontsource Chalk handwriting on the Glühwein, Bier and Bratwurst boards https://github.com/googlefonts/caveat, https://fontsource.org SIL Open Font License 1.1
Alegreya SC and Alegreya Sans (Huerta Tipográfica), via Fontsource Page type; the printed words in the market (book pages, menu paper, sheet music, noticeboard, ticket, signpost) https://github.com/huertatipografica/Alegreya, https://fontsource.org SIL Open Font License 1.1
FluidR3 GM soundfont samples by Frank Wen (piano, bass, sax), as rendered by gleitz/midi-js-soundfonts Fallback generative band only (plays only if the recorded stems cannot), emitted from prototype/samples.json https://github.com/gleitz/midi-js-soundfonts CC BY 3.0 per that repo's README (the original FluidR3_GM.sf2 is MIT); credited in the footer of both pages either way
Tone.js drum samples Fallback generative band only https://github.com/Tonejs/audio MIT
Vite, marked, yaml (build time only, not shipped) Build, content from content/*.md https://vitejs.dev, https://marked.js.org, https://eemeli.org/yaml MIT, MIT, ISC

Architect (square, town, tree, layout)

Asset Used for Source Licence
UnifrakturCook Fraktur shop signs (Bäckerei, Weinstube, Gasthaus, Metzgerei, Konditorei, Kaffeehaus) https://github.com/google/fonts/tree/main/ofl/unifrakturcook SIL Open Font License 1.1
Alegreya SC (Huerta Tipográfica) the other shop signs; the German place names on the signpost boards https://github.com/google/fonts/tree/main/ofl/alegreyasc SIL Open Font License 1.1
IM Fell English Italic (Igino Marini) the small English labels on the signpost boards https://github.com/google/fonts/tree/main/ofl/imfellenglish SIL Open Font License 1.1

Music writer (music/, site/public/audio/)

Asset Used for Source Licence
MTG Solo Saxophones, tenor: single notes (soft), breath noises. Recorded by the Music Technology Group, Universitat Pompeu Fabra, published on freesound.org; trimmed and mapped to SFZ by kinwie Tenor sax in the shipped stems (sample layer, vibrato taken out, reshaped) and the recorded breath intakes before phrases https://github.com/sfzinstruments/MTG.SoloSax (from https://freesound.org/people/MTG/packs/20251/, 20239, 20247, 20253) CC BY 4.0 per that repo's LICENSE and README. The upstream freesound.org packs are still unconfirmed: in round 1 pass 5 the build machine's proxy refused freesound.org again (HTTP 403 on the tunnel) and a fetch through the web tool was not approved, so the check needs a machine that can open those four pack pages
Salamander Grand Piano V3 by Alexander Holm (SFZ/FLAC edition by sfzinstruments) Piano https://github.com/sfzinstruments/SalamanderGrandPiano (original: https://archive.org/details/SalamanderGrandPianoV3) CC BY 3.0
Meatbass by Karoryfer Lecolds (1958 Otto Rubner double bass, played by Drogomir Smolken, recorded by Ludwik Zamenhof), pizzicato Double bass https://github.com/sfzinstruments/karoryfer.meatbass CC0 1.0
Swirly Drums by Karoryfer Samples (a jazz kit played with brushes): snare stirs, brush hits and digs, hi-hat foot, brushed ride Brushes: sweeps, taps, hi-hat foot chick, ride, the cymbal swell at the end https://github.com/sfzinstruments/karoryfer.swirly-drums CC0 1.0 (the repo's license file; changelog 1.104: "License changed to free")
Virtuosity Drums by Versilian Studios and Karoryfer Samples (house kit at Virtuosity Musical Instruments, Boston, played by Austin McMahon), kick Feathered bass drum (and, with --brushes modelled, the round-1 modelled brushes in music/listen/brushes_modelled*.mp3) https://github.com/sfzinstruments/virtuosity_drums CC0 1.0
Musyng Kite soundfont, tenor sax program, as rendered to per-note files by gleitz/midi-js-soundfonts Only the A/B files music/listen/head_musyngkite*.mp3 (not shipped on the site). It was the shipped tenor in round 1 pass 3 https://github.com/gleitz/midi-js-soundfonts (MusyngKite/tenor_sax-ogg.js) CC BY-SA 3.0 per that repo's README
FluidR3 GM soundfont by Frank Wen, tenor sax program, as rendered to per-note files by gleitz/midi-js-soundfonts Only the A/B files music/listen/head_fluidr3*.mp3 (not shipped) https://github.com/gleitz/midi-js-soundfonts (FluidR3_GM/tenor_sax-ogg.js) CC BY 3.0 per that repo's README (the original FluidR3_GM.sf2 is distributed under the MIT licence)

Lighting designer (site/src/lighting/)

Asset Used for Source Licence
three.js AgX tone-mapping constants, post-processing passes (EffectComposer, RenderPass, UnrealBloomPass, Pass) and shader chunks (patched in fog.js and shading.js) grade.js re-implements three's AgX (itself ported from Filament / Blender) to add the Punchy look; bloom and composer are used as shipped https://github.com/mrdoob/three.js MIT
Filament's AgX implementation (via three.js) AgX matrices and curve https://github.com/google/filament/pull/7236 Apache 2.0
Black-body colour approximation by Tanner Helland (algorithm only, re-implemented) kelvinRGB() fallback warm light colour (the default is now the Cycles previews' linear colour) https://tannerhelland.com/2012/09/18/convert-temperature-rgb-algorithm-code.html Published algorithm, no code copied
Roughness widening for lights with a size (Karis, "Real Shading in Unreal Engine 4", SIGGRAPH 2013; idea only, re-implemented as a roughness floor) shading.js light size on direct specular https://blog.selfshadow.com/publications/s2013-shading-course/ Published technique, no code copied

Ride builder (Riesenrad, Karussell, bandstand, instruments: blender/rides/)

Asset Used for Source Licence
UnifrakturCook "Riesenrad" entrance sign (ferris.glb), "Karussell" on the rounding board and "Fahrkarten" on the ticket booth (carousel.glb); titles of the booth posters and price board (ferris.glb) https://github.com/google/fonts/tree/main/ofl/unifrakturcook SIL Open Font License 1.1
Alegreya SC (Huerta Tipográfica) "Kasse" sign on the Riesenrad ticket booth; poster and price-board lettering (ferris.glb) https://github.com/google/fonts/tree/main/ofl/alegreyasc SIL Open Font License 1.1
IM Fell English Italic (IM Fell types, digitised by Igino Marini) Italic lines on the booth posters (ferris.glb) https://github.com/google/fonts/tree/main/ofl/imfellenglish SIL Open Font License 1.1

Vendor (goods and props: blender/props/, site/public/models/prop_*)

Asset Used for Source Licence
Oswald (The Oswald Project Authors) Book spines and covers (e.g. The Order of Time), jacket lettering, the Bierdeckel rim lettering https://github.com/google/fonts/tree/main/ofl/oswald SIL Open Font License 1.1
EB Garamond (The EB Garamond Project Authors) Book spines and covers, labels https://github.com/google/fonts/tree/main/ofl/ebgaramond SIL Open Font License 1.1
Playfair Display (The Playfair Display Project Authors) Book spines and covers (e.g. Infinite Powers); a label https://github.com/google/fonts/tree/main/ofl/playfairdisplay SIL Open Font License 1.1
Cinzel (The Cinzel Project Authors) Cloth-bound spines (e.g. Einstein, Poor Charlie’s Almanack); rum label https://github.com/google/fonts/tree/main/ofl/cinzel SIL Open Font License 1.1
Bebas Neue (Dharma Type) Book spines and covers (e.g. Elon Musk, Atomic Habits) https://github.com/google/fonts/tree/main/ofl/bebasneue SIL Open Font License 1.1
Josefin Sans (The Josefin Sans Project Authors) Book spines and covers (e.g. The Book of Why) https://github.com/google/fonts/tree/main/ofl/josefinsans SIL Open Font License 1.1
Libre Baskerville (The Libre Baskerville Project Authors) Cloth spines, a bottle label https://github.com/google/fonts/tree/main/ofl/librebaskerville SIL Open Font License 1.1
Caveat (The Caveat Project Authors) Chalk handwriting on the beer price board; the guest-book greetings https://github.com/google/fonts/tree/main/ofl/caveat SIL Open Font License 1.1
Pacifico (The Pacifico Project Authors) Glühwein mug lettering, Lebkuchen icing, Amaretto label https://github.com/google/fonts/tree/main/ofl/pacifico SIL Open Font License 1.1
UnifrakturCook, IM Fell English, Alegreya SC (carpenter's bundle, credited above) Mug and coaster Fraktur, spice-jar labels, paper-bag print, the Marktblatt masthead, back-label estate names see Carpenter SIL Open Font License 1.1

CREDITS.md in the repository has the notes behind each entry.