Credits

A first-person portal game made in the browser. Everything here is credited: code, models, textures, sounds, voice and the work that inspired it.

Portal Rooms is a non-commercial, educational experiment: it is free, has no ads and is not sold or promoted. Its name, its two linked portals and their orange and blue come from Valve's Portal; see Valve below. It is offered as is, without any warranty: see the Disclaimer at the end.

Code: MIT, © 2026 Koen Vendrik; built on Codevember 2026 Day 29 'Portal' © 2026 Adam Chernick (MIT). Assets keep their own licences, listed below.

Code

3D models

Voice

Textures and assets — the hall

All CC0, from Poly Haven (polyhaven.com). No credit is required, but it is due.
Dirty Concrete, by Rob Tuytel (the hall's walls)
Concrete Pavement, by Charlotte Baglioni (the hall's floor)
Oak Veneer 05, by Jenelle van Heerden (the gallery's floor)
Red Brick 03, by Rob Tuytel (the night atrium's walls)
Granite Tile, by Charlotte Baglioni (the night atrium's floor)
Coast Sand Rocks 02, by Rob Tuytel (the courtyard's sandstone)
Sand 01, by Rob Tuytel (the courtyard's floor)
Bark Brown 02, by Rob Tuytel (the trees' bark), copied from the Tension day
From ambientCG (ambientcg.com, CC0): Moss003 (the moss on the floors, ledges and wall feet), copied from the Moss day

The original day used its own recorded portal sounds; they are not used or shipped here.
In their place, from Freesound, CC0 (creativecommons.org/publicdomain/zero/1.0), loudness-normalised with ffmpeg:
- sounds/hum.mp3 (the open portal's hum): "Magic Portal Hum" by Qvantor — freesound.org/s/880775
- sounds/whoosh.mp3 (walking through a portal): "Ramon's Sexy Sub Drop 6000" by IV_Studios_666 — freesound.org/s/346316

The cistern

The Cistern: assets and their licences
=====================================

Textures (Poly Haven, CC0 1.0, polyhaven.com/license)
- large_sandstone_blocks     by Rob Tuytel   polyhaven.com/a/large_sandstone_blocks
    large_sandstone_blocks_{diff,nor_gl,rough}_2k.jpg (and 1k/): the dark ashlar walls, roof, gallery
- large_sandstone_blocks_01  by Rob Tuytel   polyhaven.com/a/large_sandstone_blocks_01
    large_sandstone_blocks_01_{diff,nor_gl,rough}_2k.jpg (and 1k/): the pale limestone (piers, panels, walk, island)
  Re-encoded (JPEG q82/q88) and downsized for the 1k set.

Models from Poly Haven (CC0 1.0)
- ornate_medieval_dagger     by Sofia Pahaoja      polyhaven.com/a/ornate_medieval_dagger
- lion_head                  by Tina               polyhaven.com/a/lion_head          (decimated to 40%)
- antique_ceramic_vase_01    by James Ray Cock     polyhaven.com/a/antique_ceramic_vase_01
  1k textures, re-encoded to 512 px JPEG, embedded in .gltf.json.

Models from Sketchfab (CC BY 4.0, creativecommons.org/licenses/by/4.0)
- "Apollo Belvedere" by Rigsters (sketchfab.com/rigsters)
    sketchfab.com/3d-models/apollo-belvedere-9b67614ab3f9422d9f6c88fb4fdd60cc
    -> apollo.gltf.json (simplified to 60% of its triangles, textures re-encoded to 1k JPEG)
- "Broken Medieval column set" by Sousinho (sketchfab.com/sousinho)
    sketchfab.com/3d-models/broken-medieval-column-set-962ed874cf9a4db5bc5405584c29b664
    -> columns.gltf.json (textures re-encoded to 512 px JPEG)
- "Medieval Brazier" by Sky_Hunter (sketchfab.com/Sky_Hunter)
    sketchfab.com/3d-models/medieval-brazier-cff29e533e3a4298a5d112cf7bb2558c
    -> brazier.gltf.json (textures re-encoded to 512 px JPEG)
- "Marble torso from a statue of Dionysos" by Thomas Flynn (sketchfab.com/nebulousflynn)
    sketchfab.com/3d-models/marble-torso-from-a-statue-of-dionysos-de078950bd474c73bb6cd7e1cf31de9b
    -> torso.gltf.json (simplified to 60%, textures re-encoded to 1k JPEG)
- "Ground moss fores square 2k" by 3dhdscan (sketchfab.com/3dhdscan)
    sketchfab.com/3d-models/ground-moss-fores-square-2k-8b5699d30035485c9564035bb4458a91
    -> ground_moss.gltf.json (simplified to ~1.5k triangles, textures re-encoded to 1k JPEG, its packed AO map
       dropped): the moss along the walls' and piers' feet, on the ledges, the deck and the block, and round the
       sunlit patches
- "Rock Scan - 13" by Loic Norgeot (sketchfab.com/norgeotloic)
    sketchfab.com/3d-models/rock-scan-13-8ffb23ed14824fc29f53dde52398e22b
    -> fallen_stone.gltf.json (textures re-encoded to 512 px JPEG, its packed AO map dropped): stones fallen from the
       roof, scaled up
- "Realistic Beech Fern Plant | Games | Film" by 3D Environment Artist Shop (sketchfab.com/3d-artist-shop)
    sketchfab.com/3d-models/realistic-beech-fern-plant-games-film-adf1e8832cf74a8a94c98792fa1d9088
    -> beech_fern.gltf.json (textures re-encoded to 512 px, colour kept as PNG for its cut-out): ferns near the light
  Changes: geometry simplified (meshoptimizer), textures resized and re-encoded, converted to glTF JSON with
  embedded data-URI buffers. CC BY requires this credit to be shown with the work.

Sound: cistern_ambience.mp3, a 48 s loop mixed from four Freesound recordings, all CC0 1.0
- 713996 "Wind, window moan howl soft, very slow tonal shifts" by TRP   freesound.org/s/713996
- 177958 "Water Dripping in Cave.wav"                                freesound.org/s/177958
- 442539 "Fountain or water tap in monastery.wav"                    freesound.org/s/442539
- 460178 "forest_ambience_steady_breeze_summer_sweden_leaves_light_wind" freesound.org/s/460178
  Cut, filtered, levelled, crossfaded into a seamless loop and normalised to -27 LUFS (tools/cistern_amb.py).

Code: built on Codevember 2026 Day 29 "Portal" by Adam Chernick (MIT, LICENSE-codevember.txt).

Carvings

Carvings (sun, procession, fret, glyphs), each as a relief (<name>_*) and as line carving (<name>_line_*):
  *_nor_gl.jpg, *_hac.jpg, carvings.json
  Our own designs, drawn procedurally by port/tools/carvings.py and carvelib.py (no image traced or copied).
  Released CC0. Inspired by pre-Columbian sculpture (the Mexica Sun Stone, Yaxchilan's lintels, Mitla's step frets).
  The glyphs are invented and say nothing.
  Maps: _nor_gl = OpenGL normal; _hac = R height, G ambient occlusion, B convexity (0.5 flat).
The stone shown with them (assets/cistern): Poly Haven, large_sandstone_blocks and large_sandstone_blocks_01, CC0.

The Stair Hall

The Stair Hall: assets and their licences
=========================================

New for this room
- olmec_head.gltf.json: "Olmec Head" by rmark (sketchfab.com/rmark), CC BY 4.0
    sketchfab.com/3d-models/olmec-head-ee3dbc67de9c44e59fe6be774510e8f7
    Simplified to 25% of its triangles (meshoptimizer), texture re-encoded to 1k JPEG, converted to glTF JSON with an
    embedded data-URI buffer, its colour greyed in the game. CC BY requires this credit wherever the room is shown.
- stairhall_ambience.mp3: a 48 s loop mixed from four Freesound recordings, all CC0 1.0 (from CC0-only searches):
    482878 "RoomTone2.wav"                                   freesound.org/s/482878
    202519 "AMBLM wind interior howling stronger.wav"        freesound.org/s/202519
    177031 "Droplets in a cave"                              freesound.org/s/177031
    471891 "Spring Birds 2019 (processed loop)"              freesound.org/s/471891
  Cut, filtered, levelled, crossfaded into a seamless loop and normalised to -27 LUFS (tools/stairhall_amb.py).

Reused from the cistern (assets/cistern, see CREDITS-cistern.txt)
- The stone scans: large_sandstone_blocks and large_sandstone_blocks_01 by Rob Tuytel (Poly Haven, CC0).
- ornate_medieval_dagger (Sofia Pahaoja), antique_ceramic_vase_01 (James Ray Cock): Poly Haven, CC0.
- columns.gltf.json: "Broken Medieval column set" by Sousinho, CC BY 4.0 (the stepping-stone and fallen-stair drums).

The disc's carving: the carvings module (src/ours/carvings.ts, assets/carvings, see its CREDITS.txt).
Code: built on Codevember 2026 Day 29 "Portal" by Adam Chernick (MIT, LICENSE-codevember.txt).

Sound: footsteps

Footstep samples for the portal hall (sounds/steps/)

All source recordings are from Freesound and are released under Creative Commons 0 (public domain dedication,
creativecommons.org/publicdomain/zero/1.0). No attribution is required; it is given here anyway.
The HQ MP3 previews were downloaded, single steps cut out, cleaned (high-pass, fades, tone matched across the set,
loudness matched, slightly pitched down for weight) and re-encoded as mono MP3.

Sources
  813622  "Footsteps - Stone, Rock, Concrete, Cement" by SecureSubset  CC0  freesound.org/people/SecureSubset/sounds/813622
  558472  "Footsteps_Mountain_Boots_Rock_Walk_Sequence_Mono.wav" by Nox_Sound  CC0  freesound.org/people/Nox_Sound/sounds/558472
  456428  "footsteps on surfaced road in boots" by Frigus_XIII  CC0  freesound.org/people/Frigus_XIII/sounds/456428
  868548  "Footsteps on Old Concrete Slabs" by SiriusS19YT  CC0  freesound.org/people/SiriusS19YT/sounds/868548
  546827  "Footsteps Leather Concrete (male, leather sole on gritty concrete)" by Kinoton  CC0  freesound.org/people/Kinoton/sounds/546827
  861370  "Splashing Stomps Impacts Shallow Water" by ChristopherJngs  CC0  freesound.org/people/ChristopherJngs/sounds/861370
  861369  "Splashing Footsteps Shallow Water" by ChristopherJngs  CC0  freesound.org/people/ChristopherJngs/sounds/861369
  413933  "Footsteps over water puddle." by felix.blume  CC0  freesound.org/people/felix.blume/sounds/413933
  553238  "Walking through puddle" by NachtmahrTV  CC0  freesound.org/people/NachtmahrTV/sounds/553238

Files (bank-NN: Freesound ID, which hit in it, its time in the preview, playback-rate change baked in)
  dry-01.mp3  813622 (SecureSubset)  hit 1 at 1.04 s  rate 0.97
  dry-02.mp3  558472 (Nox_Sound)  hit 19 at 18.01 s  rate 0.93
  dry-03.mp3  456428 (Frigus_XIII)  hit 26 at 14.33 s  rate 0.95
  dry-04.mp3  868548 (SiriusS19YT)  hit 2 at 1.88 s  rate 0.96
  dry-05.mp3  813622 (SecureSubset)  hit 2 at 2.21 s  rate 0.97
  dry-06.mp3  558472 (Nox_Sound)  hit 16 at 15.08 s  rate 0.93
  dry-07.mp3  868548 (SiriusS19YT)  hit 5 at 5.64 s  rate 0.96
  dry-08.mp3  813622 (SecureSubset)  hit 0 at 0.04 s  rate 0.97
  dry-09.mp3  558472 (Nox_Sound)  hit 6 at 5.63 s  rate 0.93
  dry-10.mp3  868548 (SiriusS19YT)  hit 0 at 0.01 s  rate 0.96
  dry-11.mp3  813622 (SecureSubset)  hit 3 at 3.46 s  rate 0.97
  dry-12.mp3  558472 (Nox_Sound)  hit 14 at 13.20 s  rate 0.93
  grit-01.mp3  546827 (Kinoton)  hit 11 at 11.49 s  rate 1.0
  grit-02.mp3  546827 (Kinoton)  hit 19 at 19.42 s  rate 1.0
  grit-03.mp3  546827 (Kinoton)  hit 30 at 30.51 s  rate 1.0
  grit-04.mp3  546827 (Kinoton)  hit 44 at 44.89 s  rate 1.0
  grit-05.mp3  546827 (Kinoton)  hit 71 at 75.63 s  rate 1.0
  grit-06.mp3  546827 (Kinoton)  hit 73 at 76.58 s  rate 1.0
  grit-07.mp3  546827 (Kinoton)  hit 81 at 80.32 s  rate 1.0
  grit-08.mp3  546827 (Kinoton)  hit 82 at 80.85 s  rate 1.0
  wet-01.mp3  861370 (ChristopherJngs)  hit 0 at 0.19 s  rate 0.95
  wet-02.mp3  861369 (ChristopherJngs)  hit 15 at 7.44 s  rate 0.95
  wet-03.mp3  413933 (felix.blume)  hit 23 at 80.41 s  rate 0.95
  wet-04.mp3  553238 (NachtmahrTV)  hit 3 at 3.39 s  rate 0.95
  wet-05.mp3  413933 (felix.blume)  hit 25 at 81.43 s  rate 0.95
  wet-06.mp3  553238 (NachtmahrTV)  hit 13 at 9.64 s  rate 0.95
  wet-07.mp3  413933 (felix.blume)  hit 9 at 26.81 s  rate 0.95
  wet-08.mp3  553238 (NachtmahrTV)  hit 14 at 10.35 s  rate 0.95
  wet-09.mp3  413933 (felix.blume)  hit 3 at 12.04 s  rate 0.95
  wet-10.mp3  553238 (NachtmahrTV)  hit 7 at 6.00 s  rate 0.95
  wet-11.mp3  413933 (felix.blume)  hit 28 at 86.08 s  rate 0.95
  wet-12.mp3  553238 (NachtmahrTV)  hit 1 at 2.00 s  rate 0.95

dry-*  boot heel-and-toe on concrete/stone (the weight and body of the step)
grit-* the gritty scuff layer: leather on gritty concrete, high-passed at 1.4 kHz, with a fast decay
wet-*  splashes in shallow water, high-passed at 110 Hz (the boot under them comes from dry-*)

Sound: breath and body

Breath and body samples for the player (sounds/breath/)

All source recordings are from Freesound and are released under Creative Commons 0 (public domain dedication,
creativecommons.org/publicdomain/zero/1.0). No attribution is required; it is given here anyway.
Single breaths, rustles and pops cut out with ffmpeg, high-passed, faded, levelled and re-encoded as mono MP3.

Sources
  512741  "Man breathing regularly then faster" by exe2be  CC0  freesound.org/s/512741
  554907  "Male_Breath_Fast_Loop_Stereo.wav" by Nox_Sound  CC0  freesound.org/s/554907
  444726  "Male Breathing Exhale Grunts.wav" by gtrempe  CC0  freesound.org/s/444726
  788342  "Clothes movements (walking foley)" by xkeril  CC0  freesound.org/s/788342
  390962  "Cracking joints.wav" by lucantunes  CC0  freesound.org/s/390962

Files
  soft-in-01..05, soft-out-01..05    512741
  heavy-in-01..05, heavy-out-01..05  554907
  deep-in-01..03, deep-out-01..03    444726
  grunt-01..04                       444726
  cloth-01..08                       788342
  knee-01..03                        390962

Sound: wading

Wading sounds (all CC0, Freesound):
- wade-01..15.mp3: cut, filtered and levelled from "Wading in Shallow Water.wav" — freesound.org/s/342932
- stir.mp3: a loop cut from "Walking through water" — freesound.org/s/627004

Sound: the cistern

The cistern's placed sounds (all CC0, Freesound), cut, filtered, levelled and looped:
- spout.mp3 (the lion heads pouring): "small fountain" — freesound.org/s/415027
- fire.mp3 (the brazier): "Fire Crackling 01.wav" — freesound.org/s/181563
- drip-01..12.mp3 (drops falling into the pool): "Water Dripping in Cave.wav" — freesound.org/s/177958

Sound: finding the power

Finding the power: sound design. All recordings from Freesound (freesound.org), licensed CC0 1.0 (no attribution required; credited anyway).
Gripping fist ............ freesound.org/s/704921
Heartbeat ................ freesound.org/s/21409
Knuckles cracking ........ freesound.org/s/449608
Light electric crackle ... freesound.org/s/238597
Magical mirror blast ..... freesound.org/s/814051
Sparkle burst ............ freesound.org/s/880771
Humming magical orb ...... freesound.org/s/670641
Magic fireflies .......... freesound.org/s/875330
Cloth rustle ............. freesound.org/s/19291
Power down ............... freesound.org/s/169994
Also on the options board: 704770, 147993, 187363, 398274, 250965, 519415, 814946, 177242, 351408, 159399, 532213.

Sound: stone doors

The Stair Hall's door: CC0 (Creative Commons 0), from Freesound.
- "Stone Slab Door Grinding - Heavy Rock Scrape (Mono)", Freesound sound 844329 (freesound.org/s/844329), CC0.
  grind-open.mp3: 5.55-7.05 s; grind-shut.mp3: 6.05-6.75 s; both high-passed at 45 Hz, low-passed, faded and loudness-matched (-20 LUFS).
  slab-close.mp3 (the cistern's entry slab sliding shut, slowly): 4.95-8.80 s of the same recording, high-passed at
  40 Hz, low-passed at 6.5 kHz, faded and loudness-normalised (-19 LUFS). The thud and the settling after it are synthesised.

Sound: the knife

The found knife: sound design (sounds/knife/). All source recordings are from Freesound (freesound.org) and are
released under Creative Commons 0 (public domain dedication, creativecommons.org/publicdomain/zero/1.0).
No attribution is required; it is given here anyway. The HQ MP3 previews were cut, high- and low-passed, faded,
levelled (each cut's loudest 100 ms at -22 dBFS RMS, peaks under -3 dBFS) and re-encoded as mono MP3.

File              Freesound  Title, author                                              Cut (s)       Used for
crouch-cloth      128233     "Clothing rustles" by trettfilms                           4.40-5.40     the jacket as he crouches
knee-crack        387897     "sfx_pukajuci klb_cracking joints-02.wav" by bajko         0.30-0.75     a knee bending fully
breath-in         569568     "Sigh - man - voice - breath in nose - breath out mouth"   0.55-1.55     breath in before the crouch
                             by ValentinPetiteau
breath-out        569568     (the same recording)                                       1.65-3.00     breath out as he rises
grab-scrape       321488     "Scraping Stone" by dslrguide                              0.30-0.60     the blade on the gritty floor
lift-off          489756     "knife_pick_up 01.wav" by ShadowSilhouette                 0.55-1.25     the knife taken up off the floor
rust-tick         743260     "Small Metal or Stone Item" by qubodup                     0.00-0.13     a rusty tick at lift-off; carrying
grip-squeak       119852     "Rubber_squeaks.aif" by kbnevel                            11.40-11.70   the rubber grip settling; carrying
grip-creak        119852     (the same recording)                                       11.85-12.35   the grip tightening
grip-settle       119852     (the same recording)                                       12.20-12.50   back to the carry grip
sleeve-turn       128233     "Clothing rustles" by trettfilms                           6.00-6.90     the sleeve as the wrist turns
edge-ring         178079     "knife cling" by sgarrison2127                             0.55-1.53     the ring's tail only (the strike
                                                                                                      cut off): the edge catching light
thumb-rust        627523     "metal_polyhedron_scrape.wav" by nellylongarms             5.00-5.60     the thumb over the rusty spine
weigh-catch       669712     "patting metal.wav" by vestibule-door                      5.05-5.45     the knife dropping into the palm

Links: freesound.org/s/<number> (e.g. freesound.org/s/489756).

Added for the ceremonial knife's put-away and pickup (same processing, cut with ffmpeg):
File              Freesound  Title, author                                              Cut (s)       Used for
stow-rub          172586     "Rubbing against clothing.ogg" by qubodup 0.45-1.30   the arm down past the jacket; rising
pocket-slide      476804     "Clothing: Rustling 2 (Phone out of Pocket)" by Sheyvan    16.74-17.64   the knife into the trouser pocket
blade-in          462579     "pulling out a sword or knife and putting it back"         6.22-6.77     the blade sliding down into the lining
                             by JoeDoe22
pat               540849     "searching through pockets and patting self down.wav"      39.47-39.77   one pat on the pocket
                             by sidequesting
pat-soft          540849     (the same recording)                                       41.17-41.47   the left fingertips on the stone
No longer used (the old knife's rubber grip): grip-squeak, grip-creak, grip-settle, weigh-catch (files kept).

Sound: candidates (the workshop)

Candidate sounds on the workshop's sound board (sounds/cand/). All from Freesound, CC0 1.0
(creativecommons.org/publicdomain/zero/1.0), loudness-normalised with ffmpeg.
hum_b.mp3        812392  "Forcefield Hum 2" by Zeraora                     freesound.org/s/812392
whoosh_a.mp3     171255  "Sliding Trailer Woosh" by qubodup                freesound.org/s/171255
teleport.mp3     441225  "Teleport" by LilMati                             freesound.org/s/441225
fire_whoosh.mp3  260554  "Basic Fire whoosh" by LookIMadeAThing            freesound.org/s/260554
chime.mp3        879797  "Shine Chime" by Qvantor                          freesound.org/s/879797
roomtone.mp3     509477  "room tone, big hall, heavy ventilation hum, extremely sparse people.wav"
                         by be_a_hero_not_a_patriot                        freesound.org/s/509477

Inspiration

Disclaimer