Joris
Joris

Reputation: 363

SceneJS graphing examples

Are there any good open source SceneJS examples that can graph functions similar to those demonstrated in http://www.graphycalc.com/?

Upvotes: 1

Views: 398

Answers (2)

xeolabs
xeolabs

Reputation: 1399

You can also use a data source plugin with a geometry node, to continually update it's mesh: http://scenejs.org/examples.html?page=geometryPluginPullStream http://scenejs.org/examples.html?page=geometryPluginPushStream

And here's the available vertex deformation examples (selected by tag, see left column, click one to load it): http://scenejs.org/examples.html?tags=vertexDisplacement

Upvotes: 0

Rehno Lindeque
Rehno Lindeque

Reputation: 4435

I haven't seen any but it should be relatively easy to simply use a custom vertex shader that transforms the vertices of a grid into your desired function: https://github.com/xeolabs/scenejs/wiki/shader

Upvotes: 1

Related Questions