Skip to content

curv3d/curv-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curv Playground

Picture of the playground

Write Curv code in your browser! The playground will send your code to the server where its processed by Curv and returns a model to be viewed.

In the future Curv will return shader code which will run in a WebGPU context.

DO NOT USE THIS WHEN ON MOBILE DATA! Each render is about 2MB and will eat your bandwidth.

Visit https://playground.curv3d.org !

Setup your own

Make sure nodejs, npm and Curv is installed on the server. That should be all!

Run npm install to install the dependencies and then node server.js to start.

curv-playground will listen on port 9000 on localhost. This can be easily changed in server.js.

Alternative setup on server

You can run cd ansible && ansible-playbook -i production -u root site.yml

See ansible/group_vars/services for configurable variables.

Context

I did this in the course of 7 hours, staying up from 10pm to 5am. It is not pretty but gets the job done reasonably.

About

Write Curv code from anywhere in the world!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published