june / A simple search algorithm.
0 likes
0 forks
1 files
Last active 1 month ago
It eats whatever you pass into it.
| 1 | |:search for: $something :collection: $something| |
| 2 | :found: $something |
| 3 | |:search for: $something :collection: $something-else| |
| 4 | :search for: $something |
| 5 | |:search for: $something| |
| 6 | :not found: $something |
| 7 | |
| 8 | ||:search for: red |
| 9 | :collection: (green blue white orange red violet) |
june / Propagators (Draft)
0 likes
0 forks
1 files
Last active 2 months ago
A quick demonstration of building propagators from scratch.
| 1 | ||:@include: lib/rpn.nv |
| 2 | |
| 3 | ||:: a = b + c |
| 4 | ||:: d = a + # 1 |
| 5 | ||:: b = 1 |
| 6 | ||:: c = 2 |
| 7 | |
| 8 | |:: $x = $y $op $z| |
| 9 | :: create some cells :names: ($x $y $z) |
| 10 | :: create an operator |
june / Variables and math expressions.
0 likes
0 forks
1 files
Last active 2 months ago
An example of adding basic variable bindings and binary math expressions to Nova.
| 1 | ||:: foo = bar |
| 2 | :: bar = baz |
| 3 | :: baz = 2 |
| 4 | :: quux = foo |
| 5 | :: baz = bar + foo |
| 6 | :: baz = baz + quux |
| 7 | :: baz = baz + baz |
| 8 | |
| 9 | |
| 10 | ||:@include: lib/rpn.nv |
june / Greek Salad
0 likes
0 forks
1 files
Last active 4 months ago
A small recipe for a Greek salad.
| 1 | |- greek salad -| |
| 2 | - chop |
| 3 | - romaine lettuce |
| 4 | - slice |
| 5 | - red onions |
| 6 | - dice |
| 7 | - cucumbers |
| 8 | - chop |
| 9 | - bell peppers |
| 10 | - cube |
june / Trans Pride Flag
0 likes
0 forks
1 files
Last active 4 months ago
A small Nova program to draw the trans pride flag in the playground.
| 1 | || :@include: ( |
| 2 | lib/rpn.nv |
| 3 | lib/nv/meta.nv |
| 4 | lib/platforms/browser_game.nv |
| 5 | lib/platforms/browser_dom.nv |
| 6 | ) |
| 7 | |
| 8 | ||:: create a 400 by 400 canvas |
| 9 | :: draw the trans pride flag |
june / Welcome to the Nova Playground
0 likes
0 forks
1 files
Last active 4 months ago
A short welcome with a small music demo.
| 1 | |:: Welcome.| |
| 2 | :: This is the new Nova playground. |
| 3 | :: Enter or modify the code in this box, then hit 'Run Code' to see it in action. |
| 4 | :: Hit 'Step Code' to see your code evaluate step-by-step. |
| 5 | :: Hit 'Get Share Url' to generate a sharable link in your address bar. |
| 6 | :: Have fun. Ask questions. |
| 7 | |
| 8 | |: A small request. :| |
| 9 | :: This playground is a work in progress. |
| 10 | :: It can be broken. |
june / A Short Hike
0 likes
0 forks
1 files
Last active 5 months ago
A micro-narrative written with Nova.
| 1 | | ~ 🚶♂️➡️ ~ 📍 ~ 🌅 ~ | ~ ☀️ ~ |
| 2 | | ~ 🚶♂️➡️ ~ 📍 ~ ☀️ ~ | ~ 🌄 ~ |
| 3 | | ~ 🚶♂️➡️ ~ 📍 ~ 🌄 ~ | ~ 🌌 ~ |
| 4 | |
| 5 | | ~ 🎒 ~ 🥢 | ~ ✋ ~ 🥢 |
| 6 | | ~ 🎒 ~ $ | ~ 🏕️ ~ $ |
| 7 | |
| 8 | | ~ ✋ ~ 🥢 ~ 👀 ~ 🪨 | ~ 💥 ~ (🥢 🪨) |
| 9 | |
| 10 | | ~ 💥 ~ (🥢 🪨) | ~ ✋ ~ (🥢 💥) |
june / A small graphical example of Nova.
0 likes
0 forks
1 files
Last active 5 months ago
A small Nova program to draw the trans pride flag in the playground.
| 1 | || |
| 2 | :: create a 400 by 400 canvas |
| 3 | :: draw the trans pride flag |
| 4 | |
| 5 | |:: draw the trans pride flag| |
| 6 | :: clear the canvas to black |
| 7 | :: draw a 360 by 360 lightblue rectangle at 20 20 |
| 8 | :: draw a 360 by 250 pink rectangle at 20 80 |
| 9 | :: draw a 360 by 100 white rectangle at 20 150 |
june / progress-pride-flag.nv
0 likes
0 forks
1 files
Last active 5 months ago • Forked from sierra/progress-pride-flag.nv
| 1 | || |
| 2 | :: create a 400 by 400 canvas |
| 3 | :: draw the trans pride flag |
| 4 | |
| 5 | |:: draw the trans pride flag| |
| 6 | :: clear the canvas to black |
| 7 | :: draw a 360 by 360 lightblue rectangle at 20 20 |
| 8 | :: draw a 360 by 250 pink rectangle at 20 80 |
| 9 | :: draw a 360 by 100 white rectangle at 20 150 |
| 10 | :: draw a black triangle at 20 20 20 380 200 200 |
june / A MIDI Sequencer
0 likes
0 forks
1 files
Last active 6 months ago
This is a MIDI sequencer supporting variable-length channels.
| 1 | |:@math: $x :@math: $op $y| :@math: $op $x $y |
| 2 | |
| 3 | |:note: C | :note number: 0 |
| 4 | |:note: C#| :note number: 1 |
| 5 | |:note: Db| :note number: 1 |
| 6 | |:note: D | :note number: 2 |
| 7 | |:note: D#| :note number: 3 |
| 8 | |:note: Eb| :note number: 3 |
| 9 | |:note: E | :note number: 4 |
| 10 | |:note: F | :note number: 5 |