Quick actions

cmd+k|ctrl+k

Navigation

Languages

Goofy Media effect 3?

Snippet info

Language

Lua

Visibility

public

Author

mrhax0909

Created

2025-04-16T23:32:55.09529Z

Updated

2025-04-18T23:33:59.589762Z

local Style = [[%s
<style "transform: translatey(%sem) perspective(2cm); transform-style: preserve-3d">
<style "animation: spin 2s %ss infinite linear; transform-style: inherit">
<style "animation: spin 2s %ss infinite reverse; transform-style: inherit">
<style "transform: rotatez(90deg) rotatey(110deg) translatex(%sem) scale(.1, %s); transform-style: inherit">
<style "animation: spin 1s  %ss linear infinite; width: 1em; height: 1em">.
<style "animation: spin 1s %ss reverse linear infinite">
<style "transform: scale(10, %s);"><style "background: hsl(280, 80%%, %s%%); width: 1em; height: 1em"></style></style></style></style></style></style></style></style>]]

local Intensity = 5

local Output = ""
for i = 1, 7 do
    Intensity = Intensity * (1 - math.cos(i / 13 * math.pi) * .1)
    Output = Style:format(Output, 3 - i, i * .1 + .4, i * .1, i - 4.25, 1 / Intensity, i * .1, i *.1, Intensity, math.floor(80 - i / 13 * 30))
end

Output = Output:gsub("%s0%.", " ."):gsub("([:;,)])%s", "%1"):gsub("(%.%d%d)%d+", "%1"):gsub("%s%s", " ")
print(Output)
INFO