This is a very fun library. Following the tip in these comments from @bcjordan to repeatedly re-render, I've forked a little physics notebook by Jim Bumgardner apply Rough.js to the circle rendering: https://beta.observablehq.com/@jashkenas/tumble-wheel-with-r... Wheee. Edit: Too much fun. Here's another: https://beta.observablehq.com/@jashkenas/scratchy-eyes
This is not working in Firefox. Not sure why.
Show HN: RoughJS – Create hand-drawn graphics using JavaScript
71–80 of 103 posts
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#72Earlier quoted context omitted.
https://jsfiddle.net/adrice727/49g2Leqw/105/
This is the vehicle I programmed together with my 5 year old: https://jsfiddle.net/k1g6533y/13/
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#73Earlier quoted context omitted.
https://jsfiddle.net/adrice727/49g2Leqw/105/
This is the vehicle I programmed together with my 5 year old: https://jsfiddle.net/k1g6533y/13/
I changed it a little bit to optimise rendering just in case you don't know about 'requestAnimationFrame()' (https://developer.mozilla.org/en-US/docs/Web/API/window/requ...):
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#74I would absolutely love a flow chart library that used this with decent text alignment. I used to prefer mermaid.js, but it silently fails in ways the don't work that well for me: https://mermaidjs.github.io/mermaid-live-editor .
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#75Earlier quoted context omitted.
This is the vehicle I programmed together with my 5 year old: https://jsfiddle.net/k1g6533y/13/
Very nice! I changed it a little bit to optimise rendering just in case you don't know about 'requestAnimationFrame()' ( https://developer.mozilla.org/en-US/docs/Web/API/window/requ... ): https://jsfiddle.net/65q7c5to/
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#76Quick bar chart example with D3: http://roughjs.com/examples/bar-chart.html
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#77Earlier quoted context omitted.
This is the vehicle I programmed together with my 5 year old: https://jsfiddle.net/k1g6533y/13/
Very nice! I changed it a little bit to optimise rendering just in case you don't know about 'requestAnimationFrame()' ( https://developer.mozilla.org/en-US/docs/Web/API/window/requ... ): https://jsfiddle.net/65q7c5to/
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#78Well, this just solved two problems I've been trying to figure out for months -- thanks, shihn! GitHub link: https://github.com/pshihn/rough
I'm assuming you're joking :P But if it really solved 2 of your problems, I'm curious what they were?
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#79This is a very fun library. Following the tip in these comments from @bcjordan to repeatedly re-render, I've forked a little physics notebook by Jim Bumgardner apply Rough.js to the circle rendering: https://beta.observablehq.com/@jashkenas/tumble-wheel-with-r... Wheee. Edit: Too much fun. Here's another: https://beta.observablehq.com/@jashkenas/scratchy-eyes
Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript
#80Earlier quoted context omitted.
This is the vehicle I programmed together with my 5 year old: https://jsfiddle.net/k1g6533y/13/
Very nice! I changed it a little bit to optimise rendering just in case you don't know about 'requestAnimationFrame()' ( https://developer.mozilla.org/en-US/docs/Web/API/window/requ... ): https://jsfiddle.net/65q7c5to/