News for hackers. Stuff that matters.
Re:Nim v2.0 Released by FireInsight on Tuesday August 01, 2023 @03:38PM (#36961487)
Is pixie capable of realtime usage like in games or generative art? Last time I looked it seemed CPU-only.
Re:Nim v2.0 Released by ElegantBeef on Tuesday August 01, 2023 @04:33PM (#36962348)
I use pixie for my game framework. It's used to load textures, layout fonts, and render font atlases. It can be used for generative art but https://github.com/EriKWDev/nanim or sdl2 using renderer's makes more sense as they are gpu accelerated.
Re:Nim v2.0 Released by treeform on Tuesday August 01, 2023 @05:47PM (#36963583)
Not by itself! But together with other library boxy you can: https://github.com/treeform/boxy

You should use pixie to load textures, create text, rasterize vector graphic etc... and send them to boxy to be drawn every frame.

Yes Pixie is CPU only, and just like you can't use Cairo or Skea for real time games you can't use Pixie, but boxy you totally can.