scene.org File Archive

File download

<root>­/­parties­/­2024­/­assembly_summer24­/­4k-intro/the-public-knowledge-of-gorilla-reef_by_bits-lab.zip

File size:
445 716 bytes (435.27K)
File date:
2024-08-04 14:01:02
Download count:
all-time: 8

Preview

  • gorillareef.nfo 1.88K
  • gorillareef.png.html 3.99K
  • gorillareef_screenshot.png 432.18K

file_id.diz

The Public Knowledge of Gorilla Reef

by Bits Lab

A 4k web browser intro.

Code: tmptknn
Music: bsh

For Assembly 2024 4k intro compo.

----
For technologies and tools used see tmptknn's general-purpose 
packaging pipeline for 4k (web) intros using Sointu: 

https://gitlab.com/tmptknn/pipeline

The pipeline repo contains another example intro (using sound 
frequency detection and example of using Instanssi demoparty 
lights).

----
Approximate duration (with loading on decent hardware): 1m 30s

Run on Chrome or Firefox (Chrome running in Windows is preferred). 

Because of browser cross-origin (CORS) restrictions, 
it is easiest to run the intro from a http server running in 
localhost (i.e. python http server or similar).

It may take long to load. 

The png.html file loads internally Sointu WebAssembly module 
from json array of ints. WASM module generates the audio. 

Wait patiently (ignore possible browser page unresponsive 
notifications) until browser screen says "press enter" and 
the png header is gone. Then the intro can be started by 
pressing any key (for example enter). User interaction 
(pressing any key) is required in the web browser to get 
access (permission) to use the audio.

Full screen is tried to acquire automatically when user 
presses any key after the "ready screen". If needed the full 
screen can be exited by pressing esc and the whole browser 
window can be closed by pressing alt-f4.

Instructions of disabling cors restrictions with Chrome to open
the png.html file directly from local file system can be found 
here: https://simplelocalize.io/blog/posts/what-is-cors/ 

TL;DR go to Chrome application directory and run Chrome 
executable from command prompt like this (create the temp 
directory if it does not exist): 

chrome.exe --user-data-dir="C://temp" --disable-web-security --disable-site-isolation-trials