I saw this animation online and wanted to try and replicate the movement in GH - (at least get close).
It appears a point emitter is used but then the circles transitions to orbital movements.
I have attempted it (attached below) but could do with some help on:
Randomness of the orbits size
Randomness of the plane orientation
Points moving along the orbital path, preferably at different speeds; but I think the size of the orbital path will dictate speed.
3a. Is it possible to have the point emit and transition to an orbital trajectory?
Any help in improving this would be greatly appreciated and I look forward to studying the solutions.
So, thinking of a virtual sun-like “central mass”, the initial idea is to build up ellipses (orbits) already in the correct place!
Instead of creating random ellipses and then aligning it to the sun (a mess), with the focus-focus-point method we are sure the orbit to be exact!
Rhino’s “Ellipse: from foci” is missing on grasshopper, so i made it with c#, it retrieve also Plane, R1, R2 and e (eccentricity).
Then, the “usual problem” (saying so after 15 min research on the www) is foreseeing correctly the position of an elliptically orbiting object given a starting position and a time interval.
It would require complex math (for me) and maybe heavy calculations that would slow down the animation. Maybe i’m totally wrong here.
So, i’ve mapped every possible ellipse in a 3d surface, internalized it weight about 100kB (inside the method used to build that up, disabled).
Making a fast intersection on a 3d-data is surely fast enough to let us appreciate a realtime smooth animation.
You can also simulate this Kangaroo. I’m actually struggling to recreate this using K2 for some reason - I’ve never modelled particle systems using K2 before, but Kangaroo1 still works fine and quicker than writing my own code! Essentially it’s just an inverse square law attraction with an initial velocity.
@FordEarl you should consider changing the solution to the kangaroo’s one. It’s definitively simpler.
I made my solution thinking it was strictly needed to work with elliptical curves as input, though you never actually said it. Sometime i have subconscious “horse blinders”…