Pulling Attractor Points of a Sphere Controlled by orbiting object

I’m not very familiar with Grasshopper, but I’m wondering about the feasibility of achieving something like this:

Basically, I have a sphere with points at the intersections of longitudinal/latitudinal lines. I want to be able to visualize how the moon’s gravitational pull affects these points on the earth. I’ve modeled the earth, points, moon, orbits, etc. But I’m not sure how to approach developing a grasshopper script that allows me to pulls the points toward the moon as it orbits on it’s track. Could anyone point me in the right direction?

Thanks in advance :pray:

I managed to get only half the planet, the side that faces the moon.

moon_gravity_2022Feb17a.gh (21.4 KB) (DEPRECATED due to error, use version ‘b’ below)

The ‘Lon’ (Longitude) slider moves the point representing the moon.

P.S. I can see several glaring flaws in this model, esp. with ReMap and Graph Mapper.

  • The ‘Target’ slider (renamed ‘Moon_G’) should be multiplied by the sphere radius.

  • Two ReMap components are required, one before and one after Graph Mapper.

Like this:

moon_gravity_2022Feb17b.gh (21.6 KB)

1 Like

Got the other half and ditched the Graph Mapper.

moon_gravity_2022Feb17c.gh (19.2 KB)

However, tides are more complicated than two bulges in the ocean:



A common belief about tidal sedimentation is that tides are always larger near the equator and negligible at high latitudes. This belief appears to be based on equilibrium tidal theory that predicts the existence of two ocean–surface bulges centered at low latitudes; however, it is a misconception because this theory is a poor model for real-world tides. Instead, the tide behaves as a set of shallow-water waves that are guided around the world by the continents. Tidal ranges and tidal-current speeds increase as the tidal wave propagates onto and across continental shelves; especially large ranges and fast currents can…

Where is the highest tide?


Where is the highest tide?.

In the higher latitudes of the northern hemisphere, the continents of North America, Europe, and Asia are pressed closer together. This “constriction” of the oceans creates the effect of a higher range of tides.

P.S. Added a ‘SummerWinter’ slider (orange group) to tilt the earth ± 23.5 degrees.

moon_gravity_2022Feb17d.gh (21.5 KB)

Oh wait, it’s a little more complicated than that…

The Motion of the Moon in the Night Sky

The plane of the Moon’s orbit is nearly the plane of the ecliptic. The inclination angle of the Moon’s orbit to the plane of the ecliptic is 5 degrees. This means that the Moon also moves along the ecliptic, and is seen only in the constellations along the ecliptic.