The Laniakea Supercluster - Galaxies and Gravity Streamlines in Geometry Nodes

codesignprojects in Simulations & Effects


Node Tree Pipeline (Frames 1A – 5C):

1. Stage 1 (1A – 1D) — Galaxy Cloud, Basin Filter & Gradients

  • 1A: Import CSV (Laniakea_CF4_Galaxies.csv) → Combine XYZ (Pos_X, Pos_Y, Pos_Z) → Set Position.
  • 1B: Separate Geometry (In_Laniakea == 1) + Switch to toggle between the full local volume and Laniakea alone.
  • 1D: Computes density_gradient (Index of Nearest → Evaluate at Index → Distance → Map Range) and distance_gradient (Object Info: Great_Attractor → Distance → Map Range), stored via Store Named Attribute.
  • 1C: Instances smooth Ico Sphere geometry onto points scaled by Log_Mass_Proxy (and optional gradients) and assigns the Galaxy material.

2. Stage 2 (2A – 2B) — 3D Velocity Grid

  • 2A: Import CSV (Laniakea_CF4_Velocity_Grid_v2.csv) → Set Position.
  • 2B: Packs normalized velocity components (Vel_X_Norm, Vel_Y_Norm, Vel_Z_Norm) into a single Vector attribute (grid_vel).

3. Stage 3 (3A – 3B) — Streamline Seeding

  • 3A: Branches from 1B and deletes a random fraction (Probability: 0.85 leaves ~3,675 seed points).
  • 3B: Points to Vertices → Store Named Attribute (is_tip = True).

4. Stage 4 (4A – 4B) — Iterative Advection (Repeat Zone)

  • 4A: Sample Nearest + Sample Index reads grid_vel from the 32³ lattice and scales by step size (0.065m).
  • 4B: Extrude Mesh (Vertices mode, Selection = is_tip), then writes Top back into is_tip across 45 iterations.

5. Stage 5 (5A – 5C) — Curve Smoothing, Taper & Join

  • 5A: Mesh to Curve → Blur Attribute (Position) (15 iterations) to remove voxel stepping.
  • 5B: Optional Trim Curve (in Trim file) → Store Named Attribute (curve_factor) → Float Curve radius taper → Curve to Mesh (3-point Curve Circle).
  • 5C: Set Material (Streamline shader) → Join Geometry with Galaxies.

---------------------------------------------------------------------------------------------

Key CSV Attributes:

Attribute Domain Description
Pos_X, Pos_Y, Pos_Z Point Viewport-scaled Supergalactic coordinates (1m = 10 Mpc).
Vel_X_Norm, Vel_Y_Norm, Vel_Z_Norm Point Unit-normalized 3D peculiar velocity vector.
In_Laniakea Point 1 = inside Laniakea basin; 0 = external supercluster.
Log_Mass_Proxy Point Galaxy mass proxy (8.572 to 12.50).
Speed_kms Point Raw 3D peculiar velocity magnitude in km/s.
Overdensity_Delta Point (Grid) Matter overdensity δ on the 32³ lattice.
$3.90

Have questions about this product?
Login to message

Details
Published about 5 hours ago
Blender Version 4.2 - 5.3
Render Engine Used Cycles, Eevee
License Creative Commons