autumn / circles animation
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
the circles performance test in the Myte playground
1 | || '@include' https://gist.casuallyblue.dev/autumn/056799f483464c668e0a6a2d9db099df/raw/HEAD/game.nv |
2 | |
3 | 'orbit speed' 0.003 |
4 | 'orbit width' 10 |
5 | |
6 | '' start a 400 by 400 game |
7 | '' create 400 circles |
8 | |
9 | | '' create 0 circles | |
autumn / game library
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
a library for the Myte playground that lets you easily create games
1 | | 'DOCUMENTATION' | ~~ |
2 | this game library lets you create a canvas that you can |
3 | update every frame . you can start a game like so : |
4 | |
5 | // '' start a 400 by 600 game |
6 | |
7 | and you can create a game loop that updates like this : |
8 | |
9 | / '' game loop $dt |
10 | / '' do something |
autumn / @reduce math library
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
a library for the Myte playground that allows you to reduce RPN expressions from within tuples
1 | | 'DOCUMENTATION' | ~~ |
2 | the @reduce library allows you to reduce RPN expressions |
3 | that are enclosed within curly braces inside of a tuple . |
4 | here's an example of how to use it : |
5 | |
6 | '' (@reduce snake = x is { 2 3 + 4 * } and y is { 10 7 - } .) |
7 | |
8 | this will result in the following : |
9 | |
10 | 'snake' x is 20 and y is 3 |
autumn / snake game
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
a snake game that runs on the Myte playground !
1 | | 'INSTRUCTIONS' | ~~ |
2 | you can move using the WASD keys ! |
3 | |
4 | || '@include' ( |
5 | https://gist.casuallyblue.dev/autumn/056799f483464c668e0a6a2d9db099df/raw/HEAD/game.nv |
6 | https://gist.casuallyblue.dev/autumn/e1c6774f800249be87a94240042135db/raw/HEAD/reduce.nv |
7 | ) |
8 | |
9 | 'DOM' (<query h2 <style text-align = center > >) |
Novější
Starší