aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-22 07:44:13 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-22 07:46:03 +0000
commit9bb005e8084c00c18af77e5795dc62d74b793b47 (patch)
treed2ae687ca6da00733fd5ce726d7258210ac121f4
parentfix $order error logs (diff)
downloadmmm-9bb005e8084c00c18af77e5795dc62d74b793b47.tar.gz
mmm-9bb005e8084c00c18af77e5795dc62d74b793b47.zip
start adding content from s-ol.nu
-rw-r--r--mmm/mmmfs/conversion.moon17
-rw-r--r--root/$order3
-rw-r--r--root/animations/title: text$plain1
-rw-r--r--root/articles/text$moonscript -> fn -> mmm$dom.moon (renamed from root/animations/text$moonscript -> fn -> mmm$dom.moon)0
-rw-r--r--root/games/IYNX/description: text$plain1
-rw-r--r--root/games/channel_83/description: text$plain1
-rw-r--r--root/games/curved_curse/description: text$plain1
-rw-r--r--root/games/gtglg/description: text$plain1
-rw-r--r--root/games/lorem_ipsum/description: text$plain1
-rw-r--r--root/games/moving_out/description: text$plain1
-rw-r--r--root/games/plonat_atek/description: text$plain1
-rw-r--r--root/games/text$moonscript -> fn -> mmm$dom.moon (renamed from root/articles/text$moonscript -> fn -> mmm$dom)0
-rw-r--r--root/games/the_monster_within/description: text$plain1
-rw-r--r--root/games/title: text$plain1
-rw-r--r--root/games/two_shooting_stars/description: text$plain1
-rw-r--r--root/games/vision-training-kit/description: text$plain1
-rw-r--r--root/projects/HowDoIOS/description: text$plain1
-rw-r--r--root/projects/VJmidiKit/description: text$plain1
-rw-r--r--root/projects/chimpanzee_bukkaque/description: text$plain1
-rw-r--r--root/projects/demoloops/description: text$plain1
-rw-r--r--root/projects/demoloops/koch/description: text$plain (renamed from root/animations/koch/description: text$plain)0
-rw-r--r--root/projects/demoloops/koch/text$moonscript -> mmm$component.moon (renamed from root/animations/koch/text$moonscript -> mmm$component.moon)0
-rw-r--r--root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon19
-rw-r--r--root/projects/demoloops/twisted/description: text$plain (renamed from root/animations/twisted/description: text$plain)0
-rw-r--r--root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon (renamed from root/animations/twisted/text$moonscript -> mmm$component.moon)0
-rw-r--r--root/projects/gayngine/description: text$plain1
-rw-r--r--root/projects/glitch_cube/description: text$plain1
-rw-r--r--root/projects/text$moonscript -> fn -> mmm$dom.moon18
-rw-r--r--root/projects/themer/description: text$plain1
-rw-r--r--root/projects/title: text$plain1
-rw-r--r--root/projects/torus4d/description: text$plain1
-rw-r--r--root/projects/vcv_mods/description: text$markdown+span4
32 files changed, 80 insertions, 2 deletions
diff --git a/mmm/mmmfs/conversion.moon b/mmm/mmmfs/conversion.moon
index 42ae76f..e25a523 100644
--- a/mmm/mmmfs/conversion.moon
+++ b/mmm/mmmfs/conversion.moon
@@ -101,6 +101,23 @@ do
transform: single markdown
}
+ table.insert converts, {
+ inp: 'text/markdown%+span',
+ out: 'mmm/dom',
+ transform: if MODE == 'SERVER'
+ (source) ->
+ html = markdown source
+ html = html\gsub '^<p', '<span'
+ html\gsub '/p>$', '/span>'
+ else
+ (source) ->
+ html = markdown source
+ html = html\gsub '^<p>', ''
+ html = html\gsub '</p>$', ''
+ with document\createElement 'span'
+ .innerHTML = html
+ }
+
count = (base, pattern='->') -> select 2, base\gsub pattern, ''
escape_pattern = (inp) -> "^#{inp\gsub '([-/])', '%%%1'}$"
diff --git a/root/$order b/root/$order
index eda69e3..894e140 100644
--- a/root/$order
+++ b/root/$order
@@ -1,4 +1,5 @@
articles
experiments
-animations
+projects
+games
meta
diff --git a/root/animations/title: text$plain b/root/animations/title: text$plain
deleted file mode 100644
index 4732b34..0000000
--- a/root/animations/title: text$plain
+++ /dev/null
@@ -1 +0,0 @@
-canvas animations
diff --git a/root/animations/text$moonscript -> fn -> mmm$dom.moon b/root/articles/text$moonscript -> fn -> mmm$dom.moon
index 1c04309..1c04309 100644
--- a/root/animations/text$moonscript -> fn -> mmm$dom.moon
+++ b/root/articles/text$moonscript -> fn -> mmm$dom.moon
diff --git a/root/games/IYNX/description: text$plain b/root/games/IYNX/description: text$plain
new file mode 100644
index 0000000..0d21752
--- /dev/null
+++ b/root/games/IYNX/description: text$plain
@@ -0,0 +1 @@
+a narrative, tangible, physical puzzle incorporating digital elements.
diff --git a/root/games/channel_83/description: text$plain b/root/games/channel_83/description: text$plain
new file mode 100644
index 0000000..0a65c94
--- /dev/null
+++ b/root/games/channel_83/description: text$plain
@@ -0,0 +1 @@
+a low-fi raycasting shooter.
diff --git a/root/games/curved_curse/description: text$plain b/root/games/curved_curse/description: text$plain
new file mode 100644
index 0000000..5645632
--- /dev/null
+++ b/root/games/curved_curse/description: text$plain
@@ -0,0 +1 @@
+a dungeon shooter with an unconventional gun.
diff --git a/root/games/gtglg/description: text$plain b/root/games/gtglg/description: text$plain
new file mode 100644
index 0000000..bcbb922
--- /dev/null
+++ b/root/games/gtglg/description: text$plain
@@ -0,0 +1 @@
+a slightly psychedelic physics puzzler with gary, a green-legged giraffe.
diff --git a/root/games/lorem_ipsum/description: text$plain b/root/games/lorem_ipsum/description: text$plain
new file mode 100644
index 0000000..eba007e
--- /dev/null
+++ b/root/games/lorem_ipsum/description: text$plain
@@ -0,0 +1 @@
+a board game concering medialisation and media competence.
diff --git a/root/games/moving_out/description: text$plain b/root/games/moving_out/description: text$plain
new file mode 100644
index 0000000..3ca32c9
--- /dev/null
+++ b/root/games/moving_out/description: text$plain
@@ -0,0 +1 @@
+a QWOP-y platformer in which you play a room.
diff --git a/root/games/plonat_atek/description: text$plain b/root/games/plonat_atek/description: text$plain
new file mode 100644
index 0000000..96166f1
--- /dev/null
+++ b/root/games/plonat_atek/description: text$plain
@@ -0,0 +1 @@
+a sound-only breakout game, displayable on an oscilloscope and realized in the PureData visual programming environment.
diff --git a/root/articles/text$moonscript -> fn -> mmm$dom b/root/games/text$moonscript -> fn -> mmm$dom.moon
index 1c04309..1c04309 100644
--- a/root/articles/text$moonscript -> fn -> mmm$dom
+++ b/root/games/text$moonscript -> fn -> mmm$dom.moon
diff --git a/root/games/the_monster_within/description: text$plain b/root/games/the_monster_within/description: text$plain
new file mode 100644
index 0000000..e0f0605
--- /dev/null
+++ b/root/games/the_monster_within/description: text$plain
@@ -0,0 +1 @@
+a top down action brawler with a twist.
diff --git a/root/games/title: text$plain b/root/games/title: text$plain
new file mode 100644
index 0000000..a14e466
--- /dev/null
+++ b/root/games/title: text$plain
@@ -0,0 +1 @@
+Games
diff --git a/root/games/two_shooting_stars/description: text$plain b/root/games/two_shooting_stars/description: text$plain
new file mode 100644
index 0000000..375c5d9
--- /dev/null
+++ b/root/games/two_shooting_stars/description: text$plain
@@ -0,0 +1 @@
+a narrative point-and-click adventure.
diff --git a/root/games/vision-training-kit/description: text$plain b/root/games/vision-training-kit/description: text$plain
new file mode 100644
index 0000000..0511e77
--- /dev/null
+++ b/root/games/vision-training-kit/description: text$plain
@@ -0,0 +1 @@
+a puzzle game based on a famicase cartridge design.
diff --git a/root/projects/HowDoIOS/description: text$plain b/root/projects/HowDoIOS/description: text$plain
new file mode 100644
index 0000000..b2b050a
--- /dev/null
+++ b/root/projects/HowDoIOS/description: text$plain
@@ -0,0 +1 @@
+dcpu-16 operating system.
diff --git a/root/projects/VJmidiKit/description: text$plain b/root/projects/VJmidiKit/description: text$plain
new file mode 100644
index 0000000..78c48eb
--- /dev/null
+++ b/root/projects/VJmidiKit/description: text$plain
@@ -0,0 +1 @@
+MIDI-reactive realtime visual effects platform.
diff --git a/root/projects/chimpanzee_bukkaque/description: text$plain b/root/projects/chimpanzee_bukkaque/description: text$plain
new file mode 100644
index 0000000..43d6c41
--- /dev/null
+++ b/root/projects/chimpanzee_bukkaque/description: text$plain
@@ -0,0 +1 @@
+a ludic mesh of home-built interactive sound devices, circuit bent toys and an improvisational live performance.
diff --git a/root/projects/demoloops/description: text$plain b/root/projects/demoloops/description: text$plain
new file mode 100644
index 0000000..24abffc
--- /dev/null
+++ b/root/projects/demoloops/description: text$plain
@@ -0,0 +1 @@
+geometric 2d and 3d looping animations.
diff --git a/root/animations/koch/description: text$plain b/root/projects/demoloops/koch/description: text$plain
index a0b96e7..a0b96e7 100644
--- a/root/animations/koch/description: text$plain
+++ b/root/projects/demoloops/koch/description: text$plain
diff --git a/root/animations/koch/text$moonscript -> mmm$component.moon b/root/projects/demoloops/koch/text$moonscript -> mmm$component.moon
index 4f97329..4f97329 100644
--- a/root/animations/koch/text$moonscript -> mmm$component.moon
+++ b/root/projects/demoloops/koch/text$moonscript -> mmm$component.moon
diff --git a/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon b/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon
new file mode 100644
index 0000000..cdc42b3
--- /dev/null
+++ b/root/projects/demoloops/text$moonscript -> fn -> mmm$dom.moon
@@ -0,0 +1,19 @@
+import div, h3, p, ul, li, a from require 'mmm.dom'
+
+=>
+ div {
+ h3 @gett 'name: alpha', style: { 'margin-bottom': '-.5em' },
+ p @gett 'description: mmm/dom', style: { 'margin-bottom': '-.5em' },
+ ul for child in *@children
+ name = child\gett 'name: alpha'
+ desc = child\gett 'description: text/plain'
+ li {
+ a name, {
+ href: child.path,
+ onclick: (e) =>
+ e\preventDefault!
+ BROWSER\navigate child.path
+ },
+ ': ', desc
+ }
+ }
diff --git a/root/animations/twisted/description: text$plain b/root/projects/demoloops/twisted/description: text$plain
index bbd63be..bbd63be 100644
--- a/root/animations/twisted/description: text$plain
+++ b/root/projects/demoloops/twisted/description: text$plain
diff --git a/root/animations/twisted/text$moonscript -> mmm$component.moon b/root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon
index 3fd11b0..3fd11b0 100644
--- a/root/animations/twisted/text$moonscript -> mmm$component.moon
+++ b/root/projects/demoloops/twisted/text$moonscript -> mmm$component.moon
diff --git a/root/projects/gayngine/description: text$plain b/root/projects/gayngine/description: text$plain
new file mode 100644
index 0000000..9a37a84
--- /dev/null
+++ b/root/projects/gayngine/description: text$plain
@@ -0,0 +1 @@
+photoshop-document-based 2d game engine.
diff --git a/root/projects/glitch_cube/description: text$plain b/root/projects/glitch_cube/description: text$plain
new file mode 100644
index 0000000..b38c873
--- /dev/null
+++ b/root/projects/glitch_cube/description: text$plain
@@ -0,0 +1 @@
+program interpreting random parts of itself as textures for a cube.
diff --git a/root/projects/text$moonscript -> fn -> mmm$dom.moon b/root/projects/text$moonscript -> fn -> mmm$dom.moon
new file mode 100644
index 0000000..be9f35f
--- /dev/null
+++ b/root/projects/text$moonscript -> fn -> mmm$dom.moon
@@ -0,0 +1,18 @@
+import div, h3, ul, li, a from require 'mmm.dom'
+
+=>
+ div {
+ h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' },
+ ul for child in *@children
+ name = child\gett 'name: alpha'
+ desc = child\gett 'description: mmm/dom'
+ li {
+ a name, {
+ href: child.path,
+ onclick: (e) =>
+ e\preventDefault!
+ BROWSER\navigate child.path
+ },
+ ': ', desc
+ }
+ }
diff --git a/root/projects/themer/description: text$plain b/root/projects/themer/description: text$plain
new file mode 100644
index 0000000..96c9895
--- /dev/null
+++ b/root/projects/themer/description: text$plain
@@ -0,0 +1 @@
+colorscheme generator and manager for your desktop.
diff --git a/root/projects/title: text$plain b/root/projects/title: text$plain
new file mode 100644
index 0000000..d45ed11
--- /dev/null
+++ b/root/projects/title: text$plain
@@ -0,0 +1 @@
+Other Projects
diff --git a/root/projects/torus4d/description: text$plain b/root/projects/torus4d/description: text$plain
new file mode 100644
index 0000000..07b0020
--- /dev/null
+++ b/root/projects/torus4d/description: text$plain
@@ -0,0 +1 @@
+Attempt at rendering a spiral pattern on a 4d meta-torus.
diff --git a/root/projects/vcv_mods/description: text$markdown+span b/root/projects/vcv_mods/description: text$markdown+span
new file mode 100644
index 0000000..255f88e
--- /dev/null
+++ b/root/projects/vcv_mods/description: text$markdown+span
@@ -0,0 +1,4 @@
+Plugins for [VCV Rack][rack], designed for [Oscilloscope Music][music].
+
+[rack]: https://github.com/VCVRack/Rack
+[music]: https://oscilloscopemusic.com/