GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

01Round Deadzone with Output Rescaled from Its Edge

If the thumb's distance is inside the deadzone radius, the output stays at zero; outside, it is stretched back to 0–1 starting from the deadzone edge while the direction is kept. A square deadzone sits beside it, and both are painted cell by cell on a 72×72 grid by output strength to show how the square one snaps toward the axes.

Best forDeadzone preview on a mobile game settings screen

DEADZONE_RADIUSSQUARE_DEADZONEHEAT_CELLS
Round Deadzone with Output Rescaled from Its Edge
Open in a new tab

01 Round Deadzone with Output Rescaled from Its Edge — Measured area 28.839% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Virtual Joystick JavaScript: 9 Touch Scenes

The post this demo lives in

Virtual Joystick JavaScript: 9 Touch Scenes - preview of all 9 demosVirtual Joystick JavaScript: 9 Touch ScenesVirtual joystick javascript: A character that moves at the slightest tilt shows hand tremor. 01 rescales output past a r See all demos in this post

If you like this effect - similar demos