Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build up threejs scenes from R #80

Open
bwlewis opened this issue Mar 3, 2018 · 0 comments
Open

Build up threejs scenes from R #80

bwlewis opened this issue Mar 3, 2018 · 0 comments

Comments

@bwlewis
Copy link
Owner

bwlewis commented Mar 3, 2018

We've added a new basic render function that simply displays threejs scenes, optionally with animation. For example:

library(threejs)
render(gzfile(system.file("extdata/pump.json.gz", package="threejs")), bg="black")

The plan is to add a relatively small set of R functions that mirror a subset of the native threejs functions to build up scenes. Example functions could include adding textures, meshes, geometries, etc. See https://threejs.org/docs/index.html#manual/introduction/Creating-a-scene for details.

Ideas and contributions welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant