shader-park-website icon indicating copy to clipboard operation
shader-park-website copied to clipboard

Import/Export shapes made with createShape. depends on #60

Open PWhids opened this issue 6 years ago • 1 comments

let sp = createShape( () => { sphere(0.1); displace(0.2,0.0,0.0); sphere(0.1); });

exportShape("bollas", sp);

////// some other sculpture entirely ///////

let sp = importShape("bollas"); sp();

PWhids avatar Jul 12 '19 18:07 PWhids

This would be amazing!! Would other users be able to import your exported shapes into their sculptures, or would it just be local to your profile? Would this require some type of versioning / what happens if you update your shape and someone else is using it?

torinmb avatar Jul 12 '19 18:07 torinmb