From 72829c68ec50c432b38fefcb28613c75657fb2bb Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 23 Oct 2018 00:36:24 +1100 Subject: CanvasApp whammy.js webm exporting --- app/twisted.moon | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/twisted.moon') diff --git a/app/twisted.moon b/app/twisted.moon index 325d408..0ab30b1 100644 --- a/app/twisted.moon +++ b/app/twisted.moon @@ -9,7 +9,7 @@ on_client -> height: 400 length: math.pi * 4 new: => - super! + super true @background = {Math.random!, Math.random!/3+.2, Math.random!/4} hue = Math.random! @shades = setmetatable {}, __index: (key) => @@ -35,6 +35,4 @@ on_client -> draw i draw 1 - twisted = TwistedDemo! - document.body\appendChild twisted.canvas - twisted\start! + document.body\appendChild TwistedDemo!.node -- cgit v1.2.3