local Ellipse = include("ellipse.lua") local x, y = ScrW() / 2, ScrH() / 2 local ellipse_test = Ellipse(600, 400, 0, 360, 1, color_white) hook.Add("PostRender", ellipse_test, function() cam.Start2D() render.SetMaterial(Material("vgui/white")) ellipse_test(x, y, (1 + math.sin(CurTime())) / 2 * 360) cam.End2D() end) timer.Simple(1, function() ellipse_test:Destroy() print("Removed ellipse.") end)