All examples · Shaders and post

2D jelly

What this example shows

A jelly blob's charm is that its silhouette deforms, and that is vertex work, not a fragment trick. So each blob is a flat disc facing the camera: the vertex hook wobbles the rim and squashes and stretches it (real soft-body geometry), while the fragment paints colour, gloss and a face.

squash and center are uniforms driven live from each blob's bounce.

Starting