motihoppemaker
← All guides

How Spring Motion Brings a Squished Cheek Back

Spring motion in the editor follows a moving target. Your finger or mouse sets the target during a pull. When you let go, the target returns to the original position while the cheek still has momentum. That is why the picture eases back or overshoots instead of snapping immediately to its resting pose.

Try it in the editor →

The original strawberry mochi at rest and during a pull, with guide lines over both recorded frames
Actual editor-export frames with an illustrative grid overlay. The renderer’s internal grid has 48 cells per side. Open in the editor →
The same strawberry mochi pull shown from its rest pose through the release
The recorded source of both comparison frames. Watch the bounce after release. Open in the editor →

Hold a cheek and watch it catch up

With the sample loaded, start from the middle of the right pink cheek and tug sideways. Hold the pointer still at the end. The shape continues to approach a target as the spring catches up, depending on where you stopped. The pull is also capped. Moving the pointer twice as far does not always move the cheek twice as far. Compare a small tug with a long one so you can recognize how that limit feels.

The editor keeps the horizontal and vertical amounts of movement separately. For each direction it tracks the current displacement, the velocity and the target. That is enough to make a pull feel responsive without simulating the actual material of a rice cake or skin. The visual result comes from combining that spring motion with a mask and a drawing of the picture on screen.

Use a grid and a mask to move the texture

The WebGL drawing uses a grid of 48 by 48 cells, split into triangles. The grid supplies texture coordinates across the image. The renderer works out a local influence that fades with distance from the grab. In places with paint, the pixel color can come from a nearby point in the source image, so the art appears to stretch. An unpainted pixel reads from its usual location. The visible rectangle keeps its size while the picture inside changes shape.

Notice the distinction between the paint and the grid. Brush marks decide where the effect is allowed and how strong it can be at each point. The calculated displacement decides where the renderer looks in the image during the current pull. The diagram uses two frames from a recording with guide lines overlaid to show where to inspect the artwork. The overlay is a teaching aid, not the actual internal grid rendered by the site.

Watch spring motion after you release

After release the target goes back to zero. A cheek that has moved away from that target accelerates back toward it. If it is still moving when it reaches the target, it can pass the original position and start coming back from the other side. Damping reduces the motion over time. The amount of rebound you see depends on the balance between the spring and that damping.

Wobble speed sets how strongly the spring responds to a difference between the current position and the target. Wobbles changes how much movement is lost on the way back. A high Wobbles value can give you extra swings. A higher Wobble speed can bring the first return forward. Move one of those sliders while leaving the other fixed when you want to see which part of a release changes.

Compare a still frame with a frame from the pull

The two frames above came from the same default strawberry mochi recording, a three-second file with 38 frames in the original download. The first shows the canvas before the drag. We selected a visibly changed frame from early in the clip for the second. Look at the cheeks and the outside outline. The moving side contributes most of the obvious change. The grid lines point to where to look without drawing a separate pretend cheek.

The GIF below those frames shows the return. In the live editor there are more displayed changes than you may see in a short, sampled animation. A very quick overshoot can be easier to spot directly while using the tool than inside a GIF. Lower Wobble speed and repeat if you want more time to see the motion reverse. Let it finish before starting a new drag on the same cheek.

Use the model to fix a move that looks wrong

If a stroke reaches hair or an outline you want to preserve, trim the paint. If the right pixels move but the travel is too wide, adjust Stretch or Pinch size. For a shape that returns too slowly, test one change to speed. For a shape that crosses the resting point several times and distracts from the pose, lower Wobbles. Each change addresses one part of the picture you can observe.

Try a quick test with two releases from the same point. To see a lingering rebound, increase Wobbles alone. Look for small changes after the first return instead of comparing the stretches at the moment your pointer stops. To compare the shapes at peak stretch, do the reverse. Keep the rebound fixed and change the pull or mask. Separating those two parts makes the controls more predictable when you move from the sample to another picture.

Common questions

Does the editor use a physical model of a real cheek?

It uses spring motion for the two directions of the pull and samples the picture through a painted mask. The visible result is a drawing effect, with controls to change the reach, spring and damping.

Open the cheek squish editor