pouët.net

The Public Knowledge of Gorilla Reef by Bits Lab

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