Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

3 votes

Is there a quicker way to draw a symmetric, scale-invariant (declining color) gradient around an ellipse?

You can exactly find the distance to a 2D ellipse using the signed distance function of an ellipse. Here is one by iq on shadertoy: Then a scale invariant way of ...
Reynolds's user avatar
  • 1,283

Top 50 recent answers are included