πsimple-animations
simple animations library / author: sqwat
example of usage:
local animations = require("morion/simple-animations")
callbacks.init("on_paint", function()
local alpha = animations.lerp("alpha", gvars.is_open_menu())
draw.rect_filled(0, 0, 400, 400, color_rgba(255, 255, 255, math.floor(alpha*255)))
end)functions:
lerp
Name
Type
Description
Last updated