Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This made me smile :)

  if (looping.mode === "off") {
    // If you waited for a day, you deserve to see this workaround...
    // Since there is no way to not loop a gif using gifwrap,
    // let's just put a reeeeaaaaallly long delay after the last frame.
    return 8640000;
  }


Nice, this reminds me that I made myself some time ago an avatar for a forum, and it has these crazy eyes standing still. Unless a few minutes passed, when they rolled. Only one person noticed it.


I once grabbed the generic profile picture (a silhouette) for an internal bug tracker, tilted it slightly, then set it as my avatar. One person commented something looked off, but they couldn’t put their finger on what.


Love that! Not many folks will notice, but those that do, it will make their day (or make their skin crawl). Speaking of which, there's two or three Easter Eggs in this app as well :)


Thats hilarious! :D


Hahaha, achievement unlocked! Congratulations!


only gotta wait 2.4 hours though, it's missing a zero :)


No, it's correct - for some reason, the library expects centisecs O.o See https://github.com/jimp-dev/gifwrap?tab=readme-ov-file#new_G... Although, I will admit I never waited 24 hours (or even 2.4 hours) to verify ;)


It's because that's what the GIF file format uses :)


Ah, I see, that makes more sense then. TIL, thank you!


Hah neat! I've never seen anything expect centiseconds before. Had no idea this was the way gifs are encoded. Bizarre.


Unless the comment above has been edited, I make that 100 days?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: