Y
Hacker News
new
|
ask
|
show
|
jobs
by
phs318u
857 days ago
Is there an annotated version breaking down each part of this for us lesser mortals?
1 comments
cal85
856 days ago
I've had a stab at decompressing the code by hand, adding comments and meaningful var names where possible. I still don't understand the maths in it...
https://github.com/callumlocke/bitwise-liminal-expanded
link
gigabates
856 days ago
Looks like the maths is a kind of raymarching loop if you want to read up on it.
link
junon
856 days ago
Just a guess, the speedup is probably due to you caching the 2d context.
link
https://github.com/callumlocke/bitwise-liminal-expanded