june / Drawing A Box
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
A small box drawing program, driven by a pen plotter DSL.
| 1 | |u | up |
| 2 | |d | down |
| 3 | |l | left |
| 4 | |r | right |
| 5 | |f | forward |
| 6 | |tl | turn left |
| 7 | |tr | turn right |
| 8 | |uu | u,u |
| 9 | |dd | d,d |
| 10 | |ll | l,l |
june / gist:21596a68a7654ad39e0e289b0541639c
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
| 1 | |------------------------------------------------------| |
| 2 | |#| constant, @resolution-x, 400 |
| 3 | |#| constant, @resolution-y, 400 |
| 4 | ||window, @resolution-x:400, @resolution-y:400, display |
| 5 | |window| @set-resolution |
| 6 | |
| 7 | |#| constant, Loop x, 400 |
| 8 | |#| constant, Loop y, 400 |
| 9 | |#| constant, x->p, 400 |
| 10 | |#| constant, y->p, 400 |
june / Patching A Compiled Program
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
Adding features to a program compiled from another language.
| 1 | |----------------------------------------| |
| 2 | |
| 3 | The section between these |
| 4 | two lines is a patch to |
| 5 | the original program. |
| 6 | |
| 7 | It's intended that, as a |
| 8 | program is used, it can be |
| 9 | changed and patched as the |
| 10 | user desires. |
june / A small game.
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
A livecoded text adventure game with a win and loss condition.
| 1 | Start the game: |
| 2 | The Road is to the east of The House, |
| 3 | The Forest is to the east of The Road, |
| 4 | The Shed is to the south of The House, |
| 5 | The Field is to the south of The House, |
| 6 | The Shed is locked, |
| 7 | You spawn. |
| 8 | |
| 9 | You are next to $a $place: You are at $a $place. |
june / Drawing a triangle.
0 лайк(-ов)
0 форк(-ов)
2 файл(-ов)
Последняя активность 2 years ago
A demonstration of a line drawing port.
| 1 | |#|start exhaustive |
| 2 | |#|constant, @resolution-x, 800 |
| 3 | |#|constant, @resolution-y, 600 |
| 4 | ||start |
| 5 | |start| |
| 6 | @resolution-x:800, |
| 7 | @resolution-y:600, |
| 8 | set the window resolution, |
| 9 | main loop |
| 10 | |set the window resolution| @set-resolution |