Shaders by Sonic Walker

← All shaders

Talking Robot

A robot face built from 2D signed distance functions — rounded box head, circle eyes, animated pupils that blink, eyebrows that react to the talk parameter, and a mouth that morphs from a closed line to an open shape. An antenna ball glows on top. In VS2, map audio or MIDI to the talk parameter to make it speak.

Parameters

Parameter Label Default Range Description
offsetX Offset X 0.5 0–1 Horizontal position of the face.
offsetY Offset Y 0.5 0–1 Vertical position of the face.
zoom Zoom 1.05 0.1–2.0 Camera zoom level.
talk Talk 0.0 0–1 Controls mouth opening and eyebrow raise.

Downloads

License

The shader source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You can share and adapt the code for non-commercial purposes, as long as you credit the author and distribute contributions under the same license. Commercial redistribution of the source code requires permission.

Using the Output

The visual output produced by running these shaders is yours to use. VJ at a party, use it in a music video, project it at a festival — go for it. If you're making money from it, consider supporting my music at Mirlo, Subvert or Bandcamp.