pouët.net

Ballad of Melon Tusk

Ballad of Melon Tusk

A 4k web browser intro.

Code and design: tmptknn
Music: bsh

Greets go to: 
Grrooovy, Hirvih, Naks, Pekka Pou, Raato and Vesuri of dA JoRMaS
Mayor of Wide Load
and all at Instanssi 2024!

----
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 takes long to load. 
File loads internally WebAssembly module from json array of ints.
WASM module generates the audio. 
Wait patiently until browser screen says "ready" and the png header is gone.
Then the intro can be started by pressing any key (e.g. enter).
Fullscreen is tried to acquire automatically when user presses any key 
after the "ready" screen.

----
Technologies and tools used:
WebAssembly, WebGL, Javascript, Sointu, PnginatorModified, ShaderMinifier, 
Zopfli, wat2wasm, wasm-opt

Also starring:
Go, Java, Node.js, Mono, sed, bash, Ruby

----
tmptknn has created a general-purpose packaging pipeline for 4k (web) intros
using Sointu: https://gitlab.com/tmptknn/pipeline

The pipeline was used when creating this intro. The pipeline repo contains
a smaller example intro (using sound frequency detection and example 
for Instanssi party lights). After the compo further size optimizations
(thanks pestis/bC! for tips) in the pipeline were found (about 200 bytes with
the compo entry :D). They are incorporated to the Gitlab repo linked above. 
The intro itself is the compo version.

----
PS. Sointu rules!
https://github.com/vsariola/sointu