Elektrine lite

← Feed

@dabeaz@mastodon.social

Post #2098610

2026-03-27 18:10 UTC

So, I add that to our physics code. The problem is how do I turn that into an image? I don't know anything about image formats. However, there it was, xv. We had the source code for xv. xv could write GIF images. So, I simply copied the GIF encoder out of xv, tweaked it a bit, and dropped it in our physics code. A bit of code reuse. 19/n?

Replies (1)

  • @dabeaz@mastodon.social 2026-03-27 18:14

    Now, maybe I should feel kind of bad about doing that. But, xv lifted its GIF encoding code from somewhere else too. The original source had comments crediting it to Michael Mauldin and David Rowley from 1989. But, then there was another comment below that where they credit it to an IEEE Computer Article from 1984. So, it's not really the same as installing a dependency, but definitely in the spirit of early open source. 20/n?

    Open ##2098611