Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.63 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.63 KB

Sacred Geometry

Generating shapes like this..

Flower of life

Built using https://konvajs.org/

construction

Converting from polar to cartesian coordinates: wikipedia

x = cx + r * cos(a)
y = cy + r * sin(a)

Where r is the radius, cx,cy the origin, and a the angle.

The angle has to be in radians for Math. To convert from degrees to radians wikipedia

notes

3D shapes

React with three.js directly (with hooks) - https://codepen.io/WebSeed/pen/ZmXxKz react-three-fibre - https://github.com/react-spring/react-three-fiber to create 360 and VR experiences - https://facebook.github.io/react-360/

specific shapes