News for hackers. Stuff that matters.
Re:Show HN: Hackreels – Animate your code in HD by mmanfrin on Saturday October 21, 2023 @01:54PM (#37969052)
Why tween individual letters? I've seen animations that move specific code blocks or keywords, to show the actual movement of those blocks, but individual letters just feels like noise.
Re:Show HN: Hackreels – Animate your code in HD by davidtparks on Saturday October 21, 2023 @01:58PM (#37969094)
So it's a mix of the letters but also I do not consider 100% matching lines in the diff. But I can see how there might be too much noise for very different code snippets. Thanks for your feedback!
Re:Show HN: Hackreels – Animate your code in HD by therealpygon on Saturday October 21, 2023 @08:57PM (#37971906)
Personally, I think it would make sense for the weighted priority of movement to be block > line > characters.
Re:Show HN: Hackreels – Animate your code in HD by gavmor on Saturday October 21, 2023 @03:49PM (#37969955)
Yeah, I was completely distracted trying to figure out what `import { Button, icons } from "ui"` was derived from. Looks like `<div classname="flex` was partially made up of "beautifully it animates," like a sort of anagram. There's no semantic relationship, of course, between permutations of an anagram. So letter tweening is worse than useless.

That being said, I do like the overall idea of animating code changes. Calls back to that old Facebook sketching app[0] that would let us share replays, and I am a fan of the stories that Gource[1] can tell.

Ultimately, though, the sequential text file is a bad metaphor for code. Best thing for it is to split your modules across files.

0. Can't remember the name of it, but something similar is https://sketchtoy.com/

1. https://gource.io/