ShapeJS is a JavaScript-based programming language for creating 3D printable products and fully interactive creator applications.
Hosted by Shapeways, it is a cloud-based system for creating 3D objects and web apps that make 3D printable things.
A series of blog posts by Alan Hudson shows how to code in the language and provides scripts for making many different objects including many jewelry and housewares items.
In addition it protects the underlying code and 3D models of the author by not sending the contents to the user.
Allowing per-voxel level control enables generation of printable products at printer native resolutions.