ramonmb
ramonmb

Reputation: 93

How to create 3D linear algebra visualizations with javascript or python?

Which programming language and libraries would you recommend me to recreate the 3D geometric and linear algebra visualizations displayed in this book http://immersivemath.com/ila/learnmore.html ? I speculate it's either JavaScript or Python, but I'm not sure.

Upvotes: 1

Views: 318

Answers (1)

Nino Filiu
Nino Filiu

Reputation: 18493

The most used JS library for 3D visualizations is Three. It's not the simplest to learn but the docs are great, it's powerful, and its popularity makes it "community-validated".

Another choice would be Babylon, which also have great documentation and also relies on WebGL for rendering.

D3, the de-facto standard for custom JS visualizations in JS, also handles a bit of 3D, although it's not focused on that.

If library size is a factor you consider, then Light might be a better choice, and if zero-dependency is also a plus, then you might consider Seen.

Cannon is more a 3D physics engine than a 3D visualization library, but it might come handy sometimes.

Consider also CopperLicht, Phoria, and Scene.


I wouldn't recommend doing 3D visualizations on the browser in Python, since there are many libraries in JS that are quite powerful, and moving a computationally expensive task such as 3D rendering on the server might overload it, not to mention the lack of interactivity that server-side rendering might incur.

Upvotes: 1

Related Questions