unconed / MathBox.js

MathBox is a (work in progress) library for making presentation-quality math diagrams in WebGL.
MIT License
1.94k stars 127 forks source link

Adding Sprites to the Scene #42

Closed yugo-ren closed 9 years ago

yugo-ren commented 9 years ago

Thanks for a great plotting/animation toolbox!

Is it possible to add sprites to the scene using some object in the class or a method? I'd like to label axes (not ticks), possibly points too. I tried pushing a Three.js Sprite to mathbox.overlay or mathbox._world._scene, and it didn't work. I'm new to both WebGL and MathBox and I'm sorry if this is a dumb question.

yugo-ren commented 9 years ago

Looks like custom labels as in #15 is enough for my application right now, sorry and thanks.