scene.org File Archive

File download

<root>­/­parties­/­2024­/­revision24­/­pc-4k-intro/compactdiscworld.zip

File size:
5 258 bytes (5.13K)
File date:
2024-03-31 16:34:02
Download count:
all-time: 84

Screenshot (by pouët.net)

Screenshot

Preview

  • CompactDiscWorld.nfo 1.41K
  • CompactDiscWorld.png.html 3.99K

file_id.diz

CompactDiscWorld

A 4k web browser intro.

Code and design: tmptknn
Music: bsh

----
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 Sointu WebAssembly module from json array of ints.
WASM module generates the audio. 

Wait patiently (ignore browser page unresponsive notifications) until 
browser screen says "ready, press any key!" and the png header is gone. 
Then the intro can be started by pressing any key (for example 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

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
other smaller example intro (using sound frequency detection and example 
of using Instanssi party lights). Thanks pestis/bC! for further size 
optimization tips to the pipeline!

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