ID:2246071
 
(See the best response by Ter13.)
Code:
            while(keys["x"])
src.mob.overlays -= ring
ringsize += 0.5
var/matrix/M = matrix()
M.Scale(ringsize,ringsize)
ring.transform = M
src.mob.overlays += ring
sleep(1)


Problem description:

So this works fine, it makes the ring slowly expand, HOWEVER, my neat 1-pixel wide ring becomes all blurry and ugly looking :( Would love some neat/efficient solutions to create a good-looking ring that remains good-looking as it expands.

Cheers.
Best response
Use PIXEL_SCALE. Don't upscale. Downscale.