简体   繁体   中英

Can you recommend an in-browser Ruby/Rails 3D renderer?

I want to draw some 3D network diagrams in a web browser, and the data for these diagrams are in a Rails app (in the database).

I already use flotomatic as a Rails interface for pretty Javascript plots (eg, independent variable, dependent variable). Certainly there are packages for drawing simple things in Javascript.

What I'm looking for is (a) a Javascript package for 3D drawings that are displayed in a web browser (without a plugin), and (b) a Ruby API for that package, if possible.

Any recommendations? Many thanks!

I haven't found a definitive answer, but something like this might be useful:

In short, processing has been ported to javascript and makes use of the HTML5 canvas element.

Processing.js does not yet support 3D (as canvas doesn't support it due to lack of acceleration), but it shouldn't be a big deal to create a wireframe.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM