Nerd. #RStats
Posts
#RStats A warrior appears!
Little realtime animated vignette in R
Samurai from: https://xzany.itch.io/samurai-2d-pixel-art
#Rstats wanderers, come with me on a short (realtime) stroll through a secret forest!
Animated rendering in R + native rasters
Gfx by edermunizz: https://edermunizz.itch.io/free-pixel-art-forest
#RStats 100k tiny triangles at 60 frames-per-second. A little bit #JacksonPollock a little bit like fireflies.
"I went out to the forest and caught
100,000 fireflies" - Magnetic Fields
My semi annual posting of the prescient song by Melbourne electro outfit "b(if)tek" - Machines Work
"People can do the work so machines have time to think."
In 24 hours, typst output from {emphatic} has gone from nothing to "pretty ok" !!
Very satisfying!
... And this is what raw generated typst code looks like!
It's so funky because:
- multiple whitespace are always collapsed to single whitespace by typst engine, so need to use a special non-breaking space in unicode i.e. u{00a0}
- The opening "<" bracket needs to be escaped
- Multiple lines by having a bare "" at the end of each line
- colours using "#highlight" and "#text" for each coloured block
{emphatic} typst support: added!
Good news: It works!
Bad news: I can't work out how to disable text wrapping and/or set overflow in a block to be hidden.
Large tables make 'typst' want to reflow the text which I expressly do *NOT* want to do.
I've added a 'font_size' option to help deal with this, but being able to control reflow/overflow would be better!