## DEV Community is a community of 752,525 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Posted on

# Geodesic shapes

Dear Alan Turing, I am very sorry to not live up to your expectations, you once predicted we would need a great number of disciplined mathematicians.

I can barely spell mathematician, let alone do math. Fortunately I often say, to be a programmer, you don't need the answer, just the right question.

None the less, I'm interested in making procedurally generated planets, to achieve this, we need a sphere, a sphere with equally distributed points in 3D space.
As it turns out, nobody has actually solved the problem, there are PhD students working on the problem, that fills me with hope, if they can't quite do it, than maybe I can't either. It's got to be good enough.

So let's see, there are a few methods I could approach this. A rip off somebody else's code (tempting!). Ideally I should learn though. Maybe il write a crappy prototype in JavaScript.

Now what.. I guess I need a lot more points, oh boy do I need a lot more points. The problem is my "algorithm" doesn't actually scale, at all. I need an algorithm that can draw an n sided shape and that's where the dumbness kicks in.

How?

What is the relationship between a hexagon and an octogon?

Anyways take care everyone.

## Discussion (8)

☮️✝️☪️🕉☸️✡️☯️ • Edited on

ACTUALLY......... check this out. your algothmn is in this video you looking for.

the sacred geometry you talk about was outlined in the Book of Thoth (ancient egypt/samaria) about 15k years ago.. lost forgotten, learned again. The mathematica you speak of is now called quasicrystals. These formula provide the universal scale of everything. This is the current proposed theory of everything which is being proven true using current quantum science experiments using high energy lasers. crazy i know this is all connected to how polygons make shadows.

Dr. Garret Lisie is the pioneer in this endeavor

E8 is a 8 dimensional hyper sphere.

Wow, Ask a small question, get the theory of everything. Thank you for giving a name to a thing. Quasicrystals.
Crystalline structure are so important in life!

☮️✝️☪️🕉☸️✡️☯️ • Edited on

often times the most simple things lead to the greatest discoveries.. E=mc^2 for example. or V = d/T

☮️✝️☪️🕉☸️✡️☯️

e8

So cryptic. I'm intrigued.

☮️✝️☪️🕉☸️✡️☯️

welcome to the darkside.

manish srivastava

I need an algorithm that can draw an n sided shape and that's where the dumbness kicks in. :)