Quick actions

cmd+k|ctrl+k

Navigation

Languages

Wavy text generator

Snippet info

Language

Lua

Visibility

public

Author

thatoneguyruben

Created

2024-04-14T17:26:46.119019Z

Updated

2024-04-14T17:26:46.119019Z

local amountOfLines = 360
local Text = "balls🤯"
print(tostring(#Text * amountOfLines) .. " characters")
for i = 0,amountOfLines do
  local newstring = Text
  local times = math.floor(math.sin(math.rad(i * 10 - 45)* 1.5) * 7) + 7
  for i = 1, times do
    newstring = " " .. newstring
  end
  print(newstring)
end
INFO