Lurker News
I was wondering how I can arrange objects along a spherical helix path, and read some articles on it.

I ended up learning about parametric equations again, and make this visualization to document what I learned:
https://visualrambling.space/moving-objects-in-3d/
feel free to visit and let me know what you think!

Comments (132) 68 threads

Earlier comments
reeece#
The animations are so fluid!

I very recently was looking to generate some complex shapes, and stumbled onto the complex problem of "disperse N points on sphere" and all its nuances.
There was a really cool / simple algorithm that was mentioned called the fibonacci-sphere that also generates a spiral around a sphere, but for the point dispersal. Here's a paper [1] on it that talks more about it.
[1] - https://arxiv.org/pdf/0912.4540

mustaphah2 replies#
I can't tell why, but I'm getting terrible performance on Linux/Brave. The CPU spikes immediately on visit. I'm on a powerful machine (32 GiB RAM, Intel i9 w/ 24 cores).
jeffbee2 replies#
> I can't tell why

Let's find out where this sentence goes!
> Linux
Would look into that.
> Brave.
Definitely would look into that.
> 32 GiB RAM, Intel i9 w/ 24 cores
This part is not relevant

mustaphah1 reply#
You're just jealous of my 32 GiB.
jeffbee#
Crying in Mac mini voice
fragmede1 reply#
How is that not relevant?
jeffbee#
Because any non-broken combination of browser and software platform can run this on any PC made this century. It runs fine on my terrible Atom Chromebook, even.
Anon_troll1 reply#
I encountered similar trouble with both Firefox and Chrome on Ubuntu.

Based on a quick Firefox performance report on the minified source code, most of the time seems to be spent in functionality looking like frame handling. There are some signs of time calculations.
One educated guess would be that something in frame time calculations goes off, possibly due to restricted time resolution to prevent timing related fingerprinting. This would cause next frame computation to start immediately instead of after the intended timeout.

mustaphah#
Frankly, it seems to work fine on Firefox. It's a Brave issue for me.
dgrin911 reply#
Very cool & pretty, but I feel a little let down. There is a huge leap from the basics of 3d plotting & spheres to the crazy pattern you tease and then show at the end. I understand it as someone who kind of knows this stuff already, but I think its way too big of a leap for someone who doesn't have the background.
zamadatix#
I think the crazy plot at the end is not intentionally constructed to be exactly that way, just an example of what you can get if you vary the parameters of cosines and sines in parametric equation setups similar to the ones shown earlier (instead of seeking to align them so they wrap a sphere exactly).
danans#
Nifty, but what I'm curious about is how you created the drain/fill effect on the cube.

Load more comments