shader-park-website
shader-park-website copied to clipboard
Import/Export shapes made with createShape. depends on #60
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();
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?