Various Tutorials
Giving Personality to Procedural Animations using Math
Programming Patterns
Soft Limit
Soft Limit is a very simple function that will allow players to handle gestures correctly so that they do not feel the limits, but cannot reach invalid values
public static float SoftLimit(float x)
{
x = Mathf.Max(x, 0);
return x/(x+1);
}
def soft_limit(x: float) -> float:
x = max(x, 0);
return x/(x+1);
Procedural Tutorials
Voronoi
Dual Grid System
Draw fewer tiles - by using a Dual-Grid system!
Shading
- The Book of Shaders This is a gentle step-by-step guide through the abstract and complex universe of Fragment Shaders. Features a great Glossary.
- Introduction to Shaders This video and its examples use P5js in WEBGL mode, however the concepts are transferable to pretty much any environment that you can use shaders in
- Spherical Gaussians 101
- 5 ways to draw an outline