Show Nim: New Pixie 5.0 release with significant performance improvements

2022-09-14 Thread Butler_to_Cats
My apologies for adding cruft that probably belongs on a separate thread. Hey @oyster I suspect float values are used because **Pixie** is, at heart, a vector graphics library. That it also happens to handle pixel-based images is (somewhat tongue-in-cheek) almost incidental. A slightly differen

Turning a tuple to json

2022-09-12 Thread Butler_to_Cats
Still learning Nim. Would this be acceptable? import std/[json, jsonutils] var t = (a: "A", b: 5) x = t.toJson echo pretty(x) echo type(x) Run