52 points · by gballan · 8y ago · 6 comments
https://www.patreon.com/inigoquilez
(disclaimer: not affiliated, just a fan of his work)
PS: Not as far but much better video: https://www.youtube.com/watch?v=0jGaio87u3A
About the code: I don't know about the specific techniques they use, but in general some type of arbitrary precision math is likely used, where you represent numbers with a variable amount of bytes with more bits for higher precision, and using optimized multiplication algorithms that use less than O(n^2) time with n the amount of bits of the numbers