Chris Biscardi
banner
chrisbiscardi.bsky.social
Chris Biscardi
@chrisbiscardi.bsky.social
Rustlang and Rustlang accessories

* YouTube: https://www.youtube.com/@chrisbiscardi
* Learn Rust: https://www.rustadventure.dev/
* Rust Discord: https://discord.gg/GJ5UfxzUcP
* Party Corgi Content Discord: https://discord.gg/partycorgi
so it should be straightforward... at least once the bone's forwards are calculated, which I believe is going to be "the angle the bone is when loaded" once we get to glTF armatures
November 14, 2025 at 5:12 AM
and here's X
November 14, 2025 at 5:10 AM
picking different forwards for bones is easy though. here's negative z
November 14, 2025 at 5:10 AM
not currently "keeping" the original angles, instead choosing to use z-forward (probably should be neg-z forward though)
November 14, 2025 at 5:09 AM
I've got positions and rotations, but not at the same time :laughing:
November 8, 2025 at 4:38 AM
The info from the query includes language, etc so you can set it directly in whatever you use for screenshots.

I use transparent bg for the codeblocks, which makes it easier to place/rescale/etc into videos.

I'll can more of a writeup soon showing more details and some images and such.
November 7, 2025 at 9:24 PM
The query is basically this. (nushell, so insert jq or whatever you like):

typst query main.typ "raw" | from json | where block | get text | save output.codeblocks.json

This dumps all codeblocks into a json file as an array of strings. Then I take this file and ingest it into remotion for stills.
November 7, 2025 at 9:24 PM
yeah, I'm not particularly happy with the codeblock screenshots at the moment (its a bit slow, but not slower than doing it manually) so I haven't written it up but its basically regular codeblocks in typst (any raw codeblock will do, the query actually returns blocks and inline).
November 7, 2025 at 9:24 PM
100 lines is not too bad but I do find myself pulling this lib.typ into multiple projects and it will definitely grow more (custom note needs a PDF target impl and such)
November 7, 2025 at 10:02 AM
Nice, I'll have to check those packages out.

The single lib.typ is because most of it is "switch configuration based on target" for things like image handling. It's only 100 lines or so and provides about 3 functions (a template, code highlight, custom note)

github.com/ChristopherB...
christopherbiscardi.github.com/lib.typ at b8d2b5221dfed9cc07f815556c92fc1680ae8d5d · ChristopherBiscardi/christopherbiscardi.github.com
Content for christopherbiscardi.com. Contribute to ChristopherBiscardi/christopherbiscardi.github.com development by creating an account on GitHub.
github.com
November 7, 2025 at 10:01 AM
root is in one of these piles... somewhere... I think...
November 5, 2025 at 2:57 PM
Can you upload this to my nightly branch. Haven't seen much sleep lately.
November 5, 2025 at 2:37 PM