๐๏ธ
Posts tagged with :lower_left_fountain_pen:
HTML
and CSS
files to my personal website Repo on GitHub! :github: I also made a few changes to my README Profile, because I wrote new text that I'll add soon and moved my trophies โญ theme from Monokai to Gruvbox. Also I learned about what Prettier indentation is thanks to @caleb! Next, today was my last school day before my break so this next two weeks are free and I'll have time to relax, study more, code and make new things! I will also try to work with my workshops and I'll make a pull request to GitHub Docs because I found a typo on their page! ๐ :pullrequest:const tM = 0.5, vM = 0.75; if (t < tM) t = lerp(0, vM, invLerp(0, tM, t)); else t = lerp(vM, 1, invLerp(tM, 1, t));remap is such a useful idea
dino.icu
! :orpheus: ๐ฆ Also today I saw some cool fonts while using Google Fonts! :google: ๐๏ธfread
those directly into a bunch of C structs. (I do have to handle endianness for integers, though)
in Rust, even if I used #[repr(C)]
to force a stable ABI for those structs, I'd still have to jump through a bunch more hoops (unsafe
) or pull in a dependency like bincode (which would in turn pull in serde ...).
anyway, so I quickly wrote a python metaprogram to generate a C header that can fread
(or just memcpy
) in all of the binary data into the fields in the game map object that the first python script pulls out of blender