Skip to content

0b5vr/condition

dev
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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