HyperFun is a simple specialized high-level programming language. It is intended for modeling geometric objects and their internal properties (color, material and others). A model can include objects of mixed dimensions (1D, 2D, 3D, 4D and even kD)) defined by real functions of point coordinates. This language is applicable to modeling using algebraic, skeleton-based, and procedural “implicit” surfaces, convolution surfaces, distance-based models, voxel objects, constructive solids and volumes, and more general FRep objects. A model in HyperFun is interpreted by the modeling, rendering, animation, and fabrication software tools.
More info at hyperfun.org.
Example of HyperFun application: