Re:Show HN: GitHub Stats Dashboard Powered by GraphQL API an...
by Hooopo on Wednesday June 21, 2023 @07:38AM
(#36417199)
The chart is using rough.js, which generates a random hand-drawn style every time. Currently, there is no method to lock the random seed. I'm thinking about disabling the animation to see if it can remove the jitter. It indeed seems a bit strange, haha.
[ Parent
| on HN ]
Re:Show HN: GitHub Stats Dashboard Powered by GraphQL API an...
by onion2k on Wednesday June 21, 2023 @08:33AM
(#36417654)
The docs don't agree with you - https://github.com/rough-stuff/rough/wiki#seed - if you use a fixed non-zero value it should be the same every time.