capitalex / generated-text-input.lua
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 year ago
| 1 | local min, max, huge = math.min, math.max, math.huge |
| 2 | local machine = {} |
| 3 | |
| 4 | machine.counters = { |
| 5 | ["update scene state"] = 0, |
| 6 | ["draw scene"] = 0, |
| 7 | ["present current frame"] = 0, |
| 8 | ["sleep for 1ms"] = 0, |
| 9 | ["next cycle"] = 0, |
| 10 | ["updating scene"] = 0, |
capitalex / generated-text-input.lua
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 year ago
| 1 | local min, max, huge = math.min, math.max, math.huge |
| 2 | local machine = {} |
| 3 | |
| 4 | machine.counters = { |
| 5 | ["run current frame"] = 0, |
| 6 | ["step timer"] = 0, |
| 7 | ["clear the screen"] = 0, |
| 8 | ["draw scene"] = 0, |
| 9 | ["present current frame"] = 0, |
| 10 | ["sleep for 1ms"] = 0, |
capitalex / group-etch-a-sketch.nv
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 year ago
| 1 | |#| new buttons row |
| 2 | |#| button, ⇐, left |
| 3 | |#| button, ⇑, up |
| 4 | |#| button, ⇓, down |
| 5 | |#| button, ⇒, right |
| 6 | |#| new buttons row |
| 7 | |#| button, Pen Down, pen down |
| 8 | |#| button, Pen Up, pen up |
| 9 | |#| new buttons row |
| 10 | |#| button, <h2 style="color:red">██</h2>, set red |
capitalex / bouncing_ball.nv
0 лайк(-ов)
0 форк(-ов)
2 файл(-ов)
Последняя активность 1 year ago • Форки с yumaikas/bouncing_ball.nv
| 1 | ||start |
| 2 | |clear__canvas_width, canvas_width| clear__canvas_width:4294967295 |
| 3 | |clear__canvas_width| |
| 4 | |set_const__canvas_width__400| canvas_width:400 |
| 5 | |clear__canvas_height, canvas_height| clear__canvas_height:4294967295 |
| 6 | |clear__canvas_height| |
| 7 | |set_const__canvas_height__400| canvas_height:400 |
| 8 | |clear__ball_radius, ball_radius| clear__ball_radius:4294967295 |
| 9 | |clear__ball_radius| |
| 10 | |set_const__ball_radius__6| ball_radius:6 |
capitalex / cups-bytecode-interpreter.nv
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 year ago
| 1 | |move instruction pointer| |
| 2 | @instruction pointer |
| 3 | |
| 4 | |fetch next instruction| |
| 5 | @decode instruction |
| 6 | |
| 7 | |@current instruction is halt| |
| 8 | |
| 9 | |@current instruction is inc| |
| 10 | , @increment source register |
capitalex / fast-counter-to-bits.nv
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 year ago
| 1 | |x to bits| |
| 2 | , fill b[3] with x:8, is b[3] filled? |
| 3 | , fill b[2] with x:4, is b[2] filled? |
| 4 | , fill b[1] with x:2, is b[1] filled? |
| 5 | , fill b[0] with x:1, is b[0] filled? |
| 6 | |
| 7 | |release x, x to consume| x |
| 8 | |release x| |
| 9 | |
| 10 | |consume x, x to consume| |