updated screenshots

This commit is contained in:
jill 2021-09-18 14:28:40 +03:00
parent 5cccd7c25c
commit 263259c2f5
3 changed files with 23 additions and 0 deletions

View File

@ -172,4 +172,27 @@ table.insert(self, {'inOutBack', function(t, a)
or 0.5 + 0.5 * self.outBack(t * 2 - 1, a)
end, {0, 3, 1.70158, 'a'}, overridemin = true, type = 'inout'})
-- custom stuff
local function exposin(x, e)
if ((x - 1) % 4) < 2 then
return math.pow(math.abs(x % 4 - 2), e) - 1
else
return -math.pow(math.abs((x + 2) % 4 - 2), e) + 1
end
end
local function expocos(x, e)
return exposin(x + 1, e)
end
table.insert(self, {'inExponent*', function(x, e)
return 1 - -expocos(1 - x, e)
end, {0, 10, 2, 'e'}, type = 'in'})
table.insert(self, {'outExponent*', function(x, e)
return -expocos(x, e)
end, {0, 10, 2, 'e'}, type = 'out'})
table.insert(self, {'inOutExponent*', function(x, e)
return 0.5 - 0.5 * exposin(x * 2, e)
end, {0, 10, 2, 'e'}, type = 'inout'})
return self

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 112 KiB