Spent the night trying to figure out how to round a number in 1th with @strstr. We figured it out after a couple of hours.
clr 256 512 / dup dup 1 mod sub swp dup vid swp pop swp vid mod 2 mul swp div dup 1 mod sub add .
@neauoire Ew! π π
Did you have a chance to look at https://mastodon.social/@akkartik/105115240660835365 yet?
@neauoire Definitely just a prototype.
I tried to show the instructions for running it at the start of the video, but yeah not super clear. Here they are (requiring Linux..):
```
$ git clone https://github.com/akkartik/mu
$ cd mu
$ ./translate_mu apps/tile/*.mu
$ ./a.elf screen
```
@neauoire Sorry! Try this fork: https://git.sr.ht/~akkartik/mu-normie. 28MB.
@neauoire Awesome. I just added some more guidance to the bottom of https://github.com/akkartik/mu/blob/main/apps/tile/README.md
@neauoire I see you ran into a known bug there with the negative number :) I'm still unsure what the best way is to represent and manage errors.
@akkartik @strstr where are the primitives defined if I wanted to add more for fun?