aboutsummaryrefslogtreecommitdiffstats
path: root/root/projects/demoloops
diff options
context:
space:
mode:
Diffstat (limited to 'root/projects/demoloops')
-rw-r--r--root/projects/demoloops/$order16
-rw-r--r--root/projects/demoloops/_web_view: type1
-rw-r--r--root/projects/demoloops/circle/video$mp4.mp4bin129222 -> 0 bytes
-rw-r--r--root/projects/demoloops/cube/video$mp4.mp4bin166973 -> 0 bytes
-rw-r--r--root/projects/demoloops/description: text$plain1
-rw-r--r--root/projects/demoloops/divide/video$mp4.mp4bin5660844 -> 0 bytes
-rw-r--r--root/projects/demoloops/dots/description: text$markdown+span1
-rw-r--r--root/projects/demoloops/dots/video$mp4.mp4bin7816418 -> 0 bytes
-rw-r--r--root/projects/demoloops/flipping/video$mp4.mp4bin198098 -> 0 bytes
-rw-r--r--root/projects/demoloops/fracture/video$mp4.mp4bin934523 -> 0 bytes
-rw-r--r--root/projects/demoloops/goldfish/description: text$plain1
-rw-r--r--root/projects/demoloops/goldfish/video$mp4.mp4bin2989416 -> 0 bytes
-rw-r--r--root/projects/demoloops/koch/text$moonscript -> mmm$component.moon104
-rw-r--r--root/projects/demoloops/planetary/video$mp4.mp4bin608844 -> 0 bytes
-rw-r--r--root/projects/demoloops/shutter/video$mp4.mp4bin3102672 -> 0 bytes
-rw-r--r--root/projects/demoloops/squaregrid/$order3
-rw-r--r--root/projects/demoloops/squaregrid/overlaid/video$mp4.mp4bin1795529 -> 0 bytes
-rw-r--r--root/projects/demoloops/squaregrid/rotated/video$mp4.mp4bin1130792 -> 0 bytes
-rw-r--r--root/projects/demoloops/squaregrid/rounded/video$mp4.mp4bin1746389 -> 0 bytes
-rw-r--r--root/projects/demoloops/squaregrid/text$html+frag5
-rw-r--r--root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon28
-rw-r--r--root/projects/demoloops/toroid/description: text$markdown+span1
-rw-r--r--root/projects/demoloops/toroid/video$mp4.mp4bin872732 -> 0 bytes
-rw-r--r--root/projects/demoloops/triangles/video$mp4.mp4bin12234376 -> 0 bytes
-rw-r--r--root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon43
-rw-r--r--root/projects/demoloops/twisted/video: video$mp4.mp4bin1717374 -> 0 bytes
-rw-r--r--root/projects/demoloops/weekly3/video$mp4.mp4bin5965845 -> 0 bytes
-rw-r--r--root/projects/demoloops/zoom/video$mp4.mp4bin1016741 -> 0 bytes
28 files changed, 0 insertions, 204 deletions
diff --git a/root/projects/demoloops/$order b/root/projects/demoloops/$order
deleted file mode 100644
index b98a31c..0000000
--- a/root/projects/demoloops/$order
+++ /dev/null
@@ -1,16 +0,0 @@
-toroid
-squaregrid
-zoom
-koch
-triangles
-twisted
-cube
-planetary
-flipping
-weekly3
-dots
-shutter
-goldfish
-divide
-circle
-fracture
diff --git a/root/projects/demoloops/_web_view: type b/root/projects/demoloops/_web_view: type
deleted file mode 100644
index bde5644..0000000
--- a/root/projects/demoloops/_web_view: type
+++ /dev/null
@@ -1 +0,0 @@
-text/html+interactive
diff --git a/root/projects/demoloops/circle/video$mp4.mp4 b/root/projects/demoloops/circle/video$mp4.mp4
deleted file mode 100644
index 69b2410..0000000
--- a/root/projects/demoloops/circle/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/cube/video$mp4.mp4 b/root/projects/demoloops/cube/video$mp4.mp4
deleted file mode 100644
index f8ceb51..0000000
--- a/root/projects/demoloops/cube/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/description: text$plain b/root/projects/demoloops/description: text$plain
deleted file mode 100644
index 24abffc..0000000
--- a/root/projects/demoloops/description: text$plain
+++ /dev/null
@@ -1 +0,0 @@
-geometric 2d and 3d looping animations.
diff --git a/root/projects/demoloops/divide/video$mp4.mp4 b/root/projects/demoloops/divide/video$mp4.mp4
deleted file mode 100644
index 4cbe907..0000000
--- a/root/projects/demoloops/divide/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/dots/description: text$markdown+span b/root/projects/demoloops/dots/description: text$markdown+span
deleted file mode 100644
index b0c8fd2..0000000
--- a/root/projects/demoloops/dots/description: text$markdown+span
+++ /dev/null
@@ -1 +0,0 @@
-inspired by [this reddit post](https://www.reddit.com/r/gifs/comments/5bayiu/dont_click_on_this_if_you_are_currently_drunk/).
diff --git a/root/projects/demoloops/dots/video$mp4.mp4 b/root/projects/demoloops/dots/video$mp4.mp4
deleted file mode 100644
index 2412b28..0000000
--- a/root/projects/demoloops/dots/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/flipping/video$mp4.mp4 b/root/projects/demoloops/flipping/video$mp4.mp4
deleted file mode 100644
index 1d762d6..0000000
--- a/root/projects/demoloops/flipping/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/fracture/video$mp4.mp4 b/root/projects/demoloops/fracture/video$mp4.mp4
deleted file mode 100644
index 895a29d..0000000
--- a/root/projects/demoloops/fracture/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/goldfish/description: text$plain b/root/projects/demoloops/goldfish/description: text$plain
deleted file mode 100644
index b956e72..0000000
--- a/root/projects/demoloops/goldfish/description: text$plain
+++ /dev/null
@@ -1 +0,0 @@
-pssst, this is for my mom's birthday. don't tell her yet!
diff --git a/root/projects/demoloops/goldfish/video$mp4.mp4 b/root/projects/demoloops/goldfish/video$mp4.mp4
deleted file mode 100644
index 4fcb625..0000000
--- a/root/projects/demoloops/goldfish/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/koch/text$moonscript -> mmm$component.moon b/root/projects/demoloops/koch/text$moonscript -> mmm$component.moon
deleted file mode 100644
index 8528272..0000000
--- a/root/projects/demoloops/koch/text$moonscript -> mmm$component.moon
+++ /dev/null
@@ -1,104 +0,0 @@
-assert MODE == 'CLIENT', '[nossr]'
-Math = window.Math
-
-import CanvasApp from require 'mmm.canvasapp'
-import hsl from require 'mmm.color'
-
-class KochDemo extends CanvasApp
- width: 500
- height: 400
- length: math.pi * 2
-
- new: (@iterations=3) =>
- super true
- hue = Math.random!
- @background = {1 - hue, .3, .3}
-
- @shades = setmetatable {}, __index: (tbl, key) ->
- with val = hsl { hue, .7, .9 - .5 * (key / @iterations)} do rawset tbl, key, val
-
- a_sixth = math.pi / 3
- a_third = 2 * a_sixth
- cossin = (a) -> (math.cos a), math.sin a
- triangle: (color) =>
- @ctx.fillStyle = color
- @ctx\beginPath!
- @ctx\moveTo cossin 0
- @ctx\lineTo cossin a_third
- @ctx\lineTo cossin 2*a_third
- @ctx\fill!
-
- update: (dt) =>
- super dt * 1.6
-
- draw: =>
- @ctx.fillStyle = hsl @background
- @ctx\fillRect 0, 0, @width, @height
-
- @ctx\translate @width/2, @height/2
- s = .3 * math.min @width, @height
- @ctx\scale s, s
-
- _scale = 0.8 + 0.2 * math.sin math.pi + @time
-
- ttime = @time - math.pi/2
- transfer, flipped = 0
- if ttime > 0 and ttime < math.pi
- transfer = .5 - .5 * math.cos ttime
- flipped = true
-
- draw = (i, pop) ->
- @triangle @shades[i]
-
- extra = not pop and flipped
- return unless i > (if extra then -1 else 0)
-
- scale = _scale
- if (pop and i < 1) or (not pop and i < 0)
- scale = transfer
-
- @ctx\save!
- @ctx\rotate -(a_sixth + a_third)
- @ctx\scale scale, scale
-
- for o=1,2
- @ctx\rotate a_third
- @ctx\save!
- @ctx\translate .5 + .5/scale, 0
- draw i - 1, pop
- @ctx\restore!
-
- @ctx\restore!
-
- @ctx\rotate a_sixth/2
- @ctx\translate -transfer, 0
- @ctx\rotate a_sixth * transfer
-
- @triangle @shades[3 - transfer]
-
- @ctx\save!
- @ctx\rotate a_sixth
- @ctx\scale _scale, _scale
-
- @ctx\save!
- @ctx\translate .5 + .5/_scale, 0
- draw 2 - transfer
- @ctx\restore!
-
- @ctx\rotate a_third
-
- @ctx\save!
- @ctx\translate .5 + .5/_scale, 0
- draw 2 - transfer
- @ctx\restore!
-
- @ctx\rotate a_third
-
- @ctx\save!
- @ctx\translate .5 + .5/_scale, 0
- draw 2 + transfer, true
- @ctx\restore!
-
- @ctx\restore!
-
-KochDemo!
diff --git a/root/projects/demoloops/planetary/video$mp4.mp4 b/root/projects/demoloops/planetary/video$mp4.mp4
deleted file mode 100644
index 6a74bc4..0000000
--- a/root/projects/demoloops/planetary/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/shutter/video$mp4.mp4 b/root/projects/demoloops/shutter/video$mp4.mp4
deleted file mode 100644
index adf5fe6..0000000
--- a/root/projects/demoloops/shutter/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/squaregrid/$order b/root/projects/demoloops/squaregrid/$order
deleted file mode 100644
index 7ec8787..0000000
--- a/root/projects/demoloops/squaregrid/$order
+++ /dev/null
@@ -1,3 +0,0 @@
-rotated
-overlaid
-rounded
diff --git a/root/projects/demoloops/squaregrid/overlaid/video$mp4.mp4 b/root/projects/demoloops/squaregrid/overlaid/video$mp4.mp4
deleted file mode 100644
index 258d154..0000000
--- a/root/projects/demoloops/squaregrid/overlaid/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/squaregrid/rotated/video$mp4.mp4 b/root/projects/demoloops/squaregrid/rotated/video$mp4.mp4
deleted file mode 100644
index 9452aa7..0000000
--- a/root/projects/demoloops/squaregrid/rotated/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/squaregrid/rounded/video$mp4.mp4 b/root/projects/demoloops/squaregrid/rounded/video$mp4.mp4
deleted file mode 100644
index 163c35a..0000000
--- a/root/projects/demoloops/squaregrid/rounded/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/squaregrid/text$html+frag b/root/projects/demoloops/squaregrid/text$html+frag
deleted file mode 100644
index aa33399..0000000
--- a/root/projects/demoloops/squaregrid/text$html+frag
+++ /dev/null
@@ -1,5 +0,0 @@
-<div>
- <mmm-embed path="rotated"></mmm-embed>
- <mmm-embed path="rounded"></mmm-embed>
- <mmm-embed path="overlaid"></mmm-embed>
-</div>
diff --git a/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon b/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon
deleted file mode 100644
index dd49f6f..0000000
--- a/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon
+++ /dev/null
@@ -1,28 +0,0 @@
-import div, h3, p, ul, li, a from require 'mmm.dom'
-import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom'
-
-=>
- div {
- link_to @
- p @gett 'description: mmm/dom', style: { 'margin-bottom': '-.5em' },
- div with for child in *@children
- name = child\gett 'name: alpha'
- desc = child\get 'description: mmm/dom'
- li {
- style: {
- display: 'inline-block'
- width: '500px'
- margin: '0.5em'
- padding: '1em'
- background: 'var(--gray-bright)'
- }
- child\get 'mmm/dom'
- div link_to child
- }
-
- .style = {
- display: 'flex'
- 'flex-wrap': 'wrap'
- 'align-items': 'flex-start'
- }
- }
diff --git a/root/projects/demoloops/toroid/description: text$markdown+span b/root/projects/demoloops/toroid/description: text$markdown+span
deleted file mode 100644
index 1e783c6..0000000
--- a/root/projects/demoloops/toroid/description: text$markdown+span
+++ /dev/null
@@ -1 +0,0 @@
-built at 34c3 with \[moritz\] as a stepping stone towards [torus3d](https://github.com/s-ol/torus3d).
diff --git a/root/projects/demoloops/toroid/video$mp4.mp4 b/root/projects/demoloops/toroid/video$mp4.mp4
deleted file mode 100644
index 6e91a3a..0000000
--- a/root/projects/demoloops/toroid/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/triangles/video$mp4.mp4 b/root/projects/demoloops/triangles/video$mp4.mp4
deleted file mode 100644
index aca459b..0000000
--- a/root/projects/demoloops/triangles/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon b/root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon
deleted file mode 100644
index 3fd11b0..0000000
--- a/root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon
+++ /dev/null
@@ -1,43 +0,0 @@
-assert MODE == 'CLIENT', '[nossr]'
-import CanvasApp from require 'mmm.canvasapp'
-import hsl from require 'mmm.color'
-
-Math = window.Math
-
-class TwistedDemo extends CanvasApp
- width: 500
- height: 400
- length: math.pi * 4
- new: (preview) =>
- if preview
- @width, @height = 120, 120
- super false, true
- else
- super true
- @background = {Math.random!, Math.random!/3+.2, Math.random!/4}
- hue = Math.random!
- @shades = setmetatable {}, __index: (key) =>
- with val = { hue, .7, key * .3 + .1} do rawset @, key, val
-
- draw: =>
- @ctx.fillStyle = hsl @background
- @ctx\fillRect 0, 0, @width, @height
- @ctx\translate @width/2, @height/2 + 70
-
- draw = (i) ->
- @ctx\save!
- @ctx\translate 0, -120*i
- s = 1 - 0.1 * math.sin @time + i*2
- s *= 0.8 - i * .4 * math.cos @time
- @ctx\scale s, s/2
- @ctx\rotate @time/4 + i * .6 * math.cos @time
- @ctx.fillStyle = hsl table.unpack @shades[i]
- @ctx\fillRect -80, -80, 160, 160
- @ctx\restore!
-
- for i=0,1,1/(20 + 19 * math.sin(@time / 2))
- draw i
- draw 1
-
--- .props['preview: fn -> mmm/component'] = => TwistedDemo true
-TwistedDemo!
diff --git a/root/projects/demoloops/twisted/video: video$mp4.mp4 b/root/projects/demoloops/twisted/video: video$mp4.mp4
deleted file mode 100644
index c77e1ee..0000000
--- a/root/projects/demoloops/twisted/video: video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/weekly3/video$mp4.mp4 b/root/projects/demoloops/weekly3/video$mp4.mp4
deleted file mode 100644
index 8e20ac8..0000000
--- a/root/projects/demoloops/weekly3/video$mp4.mp4
+++ /dev/null
Binary files differ
diff --git a/root/projects/demoloops/zoom/video$mp4.mp4 b/root/projects/demoloops/zoom/video$mp4.mp4
deleted file mode 100644
index 0359073..0000000
--- a/root/projects/demoloops/zoom/video$mp4.mp4
+++ /dev/null
Binary files differ