devNotes 9-20-16 Cube Octahedron – Platonic Geometry Attractor Selector
#pragma kernel CSMain // Thread group size #define thread_group_size_x 32 #define thread_group_size_y 1 #define thread_group_size_z 1 struct Particle { float3 position; float3 velocity; }; float time; float pi; float deltaTime; float damping; float3 base; // HANDLE. float3 orbit; // BOB float targetStrengh; // POWER MAG float orbit_weighting; // POWER RATIO BETWEEN HANDLE AND BOB float … Continue reading devNotes 9-20-16 Cube Octahedron – Platonic Geometry Attractor Selector
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed