Skip to content

Instantly share code, notes, and snippets.

@aliekens
Created December 29, 2021 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliekens/3bc3e6fae7b38272db2634512f9fb200 to your computer and use it in GitHub Desktop.
Save aliekens/3bc3e6fae7b38272db2634512f9fb200 to your computer and use it in GitHub Desktop.
All 92 geodesic V3 sphere XYZ coordinates on a unit sphere, in order for a LED string to start at the bottom (0,0,-1) and spiral toward the top (0,0,1)
#define NLEDS 92
double coordinates[ NLEDS ][ 3 ] = { {0,0,-1}}, {-0.241202,-0.175244,-0.815738}}, {-0.241202,0.175244,-0.815738}}, {0.0921311,0.28355,-0.815738}}, {0.298142,0,-0.815738}}, {0.0921311,-0.28355,-0.815738}}, {-0.149071,-0.458794,-0.631476}}, {-0.482405,-0.350487,-0.631476}}, {-0.482405,0,-0.631476}}, {-0.482405,0.350487,-0.631476}}, {-0.149071,0.458794,-0.631476}}, {0.184262,0.567101,-0.631476}}, {0.390273,0.28355,-0.631476}}, {0.596285,0,-0.631476}}, {0.390273,-0.28355,-0.631476}}, {0.184262,-0.567101,-0.631476}}, {-0.0569401,-0.742344,-0.447214}}, {-0.390273,-0.634038,-0.447214}}, {-0.723607,-0.525731,-0.447214}}, {-0.723607,-0.175244,-0.447214}}, {-0.723607,0.175244,-0.447214}}, {-0.723607,0.525731,-0.447214}}, {-0.390273,0.634038,-0.447214}}, {-0.0569401,0.742344,-0.447214}}, {0.276393,0.850651,-0.447214}}, {0.482405,0.567101,-0.447214}}, {0.688416,0.28355,-0.447214}}, {0.894427,0,-0.447214}}, {0.688416,-0.28355,-0.447214}}, {0.482405,-0.567101,-0.447214}}, {0.276393,-0.850651,-0.447214}}, {-0.241202,-0.742344,-0.149071}}, {-0.574536,-0.634038,-0.149071}}, {-0.780547,-0.350487,-0.149071}}, {-0.780547,0,-0.149071}}, {-0.780547,0.350487,-0.149071}}, {-0.574536,0.634038,-0.149071}}, {-0.241202,0.742344,-0.149071}}, {0.0921311,0.850651,-0.149071}}, {0.425464,0.742344,-0.149071}}, {0.631476,0.458794,-0.149071}}, {0.837487,0.175244,-0.149071}}, {0.837487,-0.175244,-0.149071}}, {0.631476,-0.458794,-0.149071}}, {0.425464,-0.742344,-0.149071}}, {0.0921311,-0.850651,-0.149071}}, {-0.0921311,-0.850651,0.149071}}, {-0.425464,-0.742344,0.149071}}, {-0.631476,-0.458794,0.149071}}, {-0.837487,-0.175244,0.149071}}, {-0.837487,0.175244,0.149071}}, {-0.631476,0.458794,0.149071}}, {-0.425464,0.742344,0.149071}}, {-0.0921311,0.850651,0.149071}}, {0.241202,0.742344,0.149071}}, {0.574536,0.634038,0.149071}}, {0.780547,0.350487,0.149071}}, {0.780547,0,0.149071}}, {0.780547,-0.350487,0.149071}}, {0.574536,-0.634038,0.149071}}, {0.241202,-0.742344,0.149071}}, {-0.276393,-0.850651,0.447214}}, {-0.482405,-0.567101,0.447214}}, {-0.688416,-0.28355,0.447214}}, {-0.894427,0,0.447214}}, {-0.688416,0.28355,0.447214}}, {-0.482405,0.567101,0.447214}}, {-0.276393,0.850651,0.447214}}, {0.0569401,0.742344,0.447214}}, {0.390273,0.634038,0.447214}}, {0.723607,0.525731,0.447214}}, {0.723607,0.175244,0.447214}}, {0.723607,-0.175244,0.447214}}, {0.723607,-0.525731,0.447214}}, {0.390273,-0.634038,0.447214}}, {0.0569401,-0.742344,0.447214}}, {-0.184262,-0.567101,0.631476}}, {-0.390273,-0.28355,0.631476}}, {-0.596285,0,0.631476}}, {-0.390273,0.28355,0.631476}}, {-0.184262,0.567101,0.631476}}, {0.149071,0.458794,0.631476}}, {0.482405,0.350487,0.631476}}, {0.482405,0,0.631476}}, {0.482405,-0.350487,0.631476}}, {0.149071,-0.458794,0.631476}}, {-0.0921311,-0.28355,0.815738}}, {-0.298142,0,0.815738}}, {-0.0921311,0.28355,0.815738}}, {0.241202,0.175244,0.815738}}, {0.241202,-0.175244,0.815738}}, {0,0,1}} };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment