Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
/ condition Public archive

A 64KB WebGL Intro. Appeared in Revision 2021, PC 64KB Intro Compo

License

Notifications You must be signed in to change notification settings

fms-cat/condition

Repository files navigation

Condition

"Condition" by FMS_Cat
A 64KB WebGL Intro
Appeared in Revision 2021, PC 64KB Intro Compo

See the demo!

Condition

#define COMPROMISE 1

I'm so embarrassed that this project contains so many dumb strategies about size / performance optimization because deadline matters.
You totally shouldn't reference this project to do something by yourself.

Build

yarn
yarn build

Keyboard Controls

Only works in development build

  • Escape: Panic
  • Space: Play / Pause
  • Left: Rewind 8 beats
  • Right: Skip 8 beats

Minification

terser's mangler is spicy
you'll die instantly if you access to object properties using a string identifier
see webpack.config.js and src/automaton-fxs/fxDefinitions.ts for the funny jokes

jsexe is good
note that it cannot parse nowadays ecmascript though

shader minifier is way too spicy so I made a separate document

libopus is cheating

Links

About

A 64KB WebGL Intro. Appeared in Revision 2021, PC 64KB Intro Compo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published