Skip to content

Instantly share code, notes, and snippets.

View shiraleeana's full-sized avatar

Andrea Lau shiraleeana

View GitHub Profile
randomDegree(a=-90deg,b=90deg)
math(math(0, 'random')*(b - a + 1) + a, 'floor')
randomX(a=-100px,b=100px)
math(math(0, 'random')*(b - a + 1) + a, 'floor')
randomY(a=-100px,b=100px)
math(math(0, 'random')*(b - a + 1) + a, 'floor')
randomScale(a=0.1,b=5.0)