Re:Show HN: A Stargate in 140 chars of JavaScript
by nbevans on Saturday November 14, 2020 @03:46AM
(#25091073)
That's cool. Now make it render the effects of a blackhole on a stargate wormhole ala SG-1 episode: "A Matter of Time".
[ Parent
| on HN ]
Re:Show HN: A Stargate in 140 chars of JavaScript
by tomxor on Saturday November 14, 2020 @08:22AM
(#25092143)
Done :) https://www.dwitter.net/d/20603
Only need to save result of atan2 `a` (angle) and then tweak the ripple effect in z:
C(a/3+r+t*9)*C(T/5+z(n)*2)