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

Support latest THREE.js #21

Open pehrlich opened 10 years ago

pehrlich commented 10 years ago

Hi

It appears as this project is currently unmaintained:

So two big questions before I go any further:

Does has anyone made an up-to-date version, or know how much work is likely to be involved? New to three.js here.

If I make an updated version and open a Pull, will it be merged?

Best, --Peter

unconed commented 10 years ago

MathBox continues to work for all my uses, so it is most likely a problem on your end.

Upgrading to the latest Three.js will not do much for this branch of MathBox. For one, you'd have to upgrade the tQuery too, and you'd have to rewrite all the vector/math code in MathBox as the three.js API has changed since then. With no tangible end-user benefit for MathBox I can think of.

I'm currently rewriting Mathbox pretty much from scratch with everything learned from using this branch, which is why this repo sits mostly untended.

pehrlich commented 10 years ago

great! I'll stay tuned.

I did get some amount of conversion work done yesterday, so I may publish if it proves functional later.

Thanks for a fantastic library~

jasongrout commented 10 years ago

@unconed: are you pushing your rewrite anywhere public? I'd love to see what you are doing, especially as I'm working on rewriting Sage's 3d graphics to use three.js and IPython widgets.

unconed commented 10 years ago

@jasongrout I don't have a fully functional set up yet, just parts, which I'll publish when ready. Some of that has started trickling out. For example, threestrap is my way of divorcing mathbox from tquery, and the geometry pipeline from my Dark Sunrise demo was a prototype for feeding data from live expressions into the GPU more efficiently. Also working on shadergraph 2, better attributes, and a proper sequencing animator.

I can't put dates on when this will be ready though.

jasongrout commented 10 years ago

@unconed: cool. I'll keep a lookout for any updates. Thanks for the cool stuff that you are doing! My multivariable calculus students were really appreciative of the rectangular/polar demos I tweaked from the Mathbox demos (http://artsci.drake.edu/grout/mathbox/examples/polar.html; http://artsci.drake.edu/grout/mathbox/examples/polar2.html)

HLueckhoff commented 9 years ago

@unconed: thanks so much for this great work. Unfortunately dependencies on Three r53 and tquery become more and more of a deal breaker for me as the mathbox bits I am using are just one part of a bigger Three application. It shouldn't surprise anyone that great software like Mathbox is used in ways not originally intended or foreseen by the authors. Here is my question: How is Mathbox2 doing? Any ETA? Or is there any chance to get access to an early alpha? For my current project I would require only pretty basic functionality around surface object. Best, Hermann

wdyang commented 9 years ago

Great work indeed @unconed! Same question here. Can we get access to early alpha? We are using it in experimental work. So we can deal with instability of alpha.

Thanks!

Weidong