ternimal icon indicating copy to clipboard operation
ternimal copied to clipboard

Feature: Two-dimensional, animated gradient

Open p-e-w opened this issue 7 years ago • 0 comments

The idea is to extend the current gradient syntax of

DISTANCE:COLOR[,...]

to

X1;Y1;X2;Y2[;...]:COLOR[,...]

Where the x(n)/y(n) coordinates are locations in a 1x1 square whose coloring is determined using a combination of a Delaunay mesh and Barycentric interpolation.

The program then cyclically animates the movement of each point to the next location x(n+1)/y(n+1) every tick seconds (new parameter).

This idea would dramatically enhance the texturing and animation capabilities of Ternimal.

p-e-w avatar Apr 15 '18 13:04 p-e-w