# ShapeJS Examples

Looking for inspiration? Our developer community is constantly pushing the boundaries of what's possible with 3D Printing. Here are some examples of what you can do with the ShapeJS language and what's possible with 3D printing.

### Gyroid

This is an example of a gyroid pattern intersected with a sphere. A STL model is loaded and then intersected with a space filling pattern. The pattern used here is a Gyroid which makes nice patterns through the space.

#### Reflection Symmetry

Example of generalized kaleidoscope. The idea is similar to traditional kaleidoscope, which consists of 3 flat mirrors with dihedral angles 60 degree. One can place an arbitrary objects inside of such kaleidoscope and reflections in the mirrors create infinite repeating pattern. Here in addition to usual flat mirrors we use spherical mirrors. "Reflections" in spherical mirrors are inversion in the spheres. If dihedral angles between spheres and planes is integer submultiple of the half turn (PI or 180 degrees) the reflections in such mirrors form regular pattern. The type of pattern created by such kaleidoscope can be wildly complex. In this case we have 4 mirrors: 2 flat mirros and 2 spherical mirrors. The mirrors are placed in such a ways, that the pattern scales down near the boundary of a disk. It resembles a tiling of 2D hyperbolic plane in Poincare disk model with important difference that our pattern is three dimensional.

### Jewelry

#### Signet Ring

A signet ring where the user can provide the image for the ring. The script is fully parameterized for creating different ring sizes and widths.

#### Pendant

A pendant creator for making flat and circular image based pendants. Using a spherical or cylindrical bending makes these pendants pop.

### Housewares

#### Light Switch Cover

Create a custom LightSwitch cover using an image. This example shows how to protect functional areas of a design from the input image.

#### Absinthe Spoon

This is an example of a mapping a 2D image to a 3D object. A Grayscale image is used to model a 3D object from a 2D image. Gradients make a sloping edge to the spoon.

#### LED Tealight

Create a custom LED tea light with a single image. This polyhedral kaleidoscope takes a source image and maps it onto a sphere. The reflections turn simple imagery into complex patterns. We recommend using images sized 1618 x 1000 pixels. \$10 in White Strong & Flexible.

### Curios

#### Coin

A coin created from multiple 3D image layers combined to create a top, a side and a bottom surface.

#### Dice

A six-sided dice made from a simple cube intersected with a sphere to round the corners and edges. Numbers for the dice are created with the Text object, rotated and translated to each face, and subtracted from the dice.