typpo / spacekit

Javascript library for 3D space visualizations
https://typpo.github.io/spacekit/
MIT License
527 stars 39 forks source link

Get shader orbits working #1

Closed typpo closed 5 years ago

typpo commented 5 years ago

It's working!

This line of code

const mars = viz.createObject('mars', SpaceObjectPresets.MARS); 

1) creates an orbit ellipse 2) adds a moving object whose position is computed on GPU

image