mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-16 03:47:30 +01:00
I think I've only added replies to myself, but I have a hunch I've added more than that, which means broken links. Ehh… we'll fix it in post.
507 B
507 B
date | tags | in_reply_to | |||
---|---|---|---|---|---|
2019-02-16T23:48:28Z |
|
../1096919221345357824 |
I decided to generate the gif in golang too. Palette quantisation was fun to learn about; how you take a 32 bit colour image and decide which colours you should use when downsampling into 256 colours.
I used the "Median Cut" method [https://github.com/ericpauley/go-quantize/quantize](https://github.com/ericpauley/go-quantize/quantize)
{{< imgorvid src="media-1.mp4" >}}