Skip to content

MartinEricsson/causticonek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CausticOneK

Tracing

This is an entry to the 2022 iteration of js1024 in an attempt to render some reflections, refraction and caustics in no more than 1024 bytes of JavaScript.

Method

Hand coded and compressed with terser online, packed with regpack. The final size is 1022bytes.

Versions

There are two versions in this repository, one for the competition shim_canvas2d.html. And one that is not competition legal but executes faster and scales up the canvas, js1k_final.html.