Live data from Hacker News

Show HN: RoughJS – Create hand-drawn graphics using JavaScript

roughjs.com

41–50 of 103 posts

Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript

#41

If you repeatedly clear canvas/draw with a setInterval of ~100-200ms, looks kind of like the hand-drawn un-stable lines art style of Squigglevision (Dr. Katz / Science Court) :) EDIT: If folks want to play with a JSFiddle: https://jsfiddle.net/49g2Leqw/9/

https://jsfiddle.net/adrice727/49g2Leqw/105/

Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript

#42
post #40

A bit off-topic but a while ago someone posted a similar tool here on HN that allows one to produce diagrams - they looked pretty much hand-drawn. Does anyone have a link?

If by diagrams you mean charts, possibly https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i...

This comes close enough but it's not the exact software that was posted around here :-)

Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript

#45

If you repeatedly clear canvas/draw with a setInterval of ~100-200ms, looks kind of like the hand-drawn un-stable lines art style of Squigglevision (Dr. Katz / Science Court) :) EDIT: If folks want to play with a JSFiddle: https://jsfiddle.net/49g2Leqw/9/

https://jsfiddle.net/adrice727/49g2Leqw/105/

This is great. Thank you both for these fiddles. I've been doing a lot of SVG DOM stuff. Mostly tied to maps. I'm excited to try this out.

Re: Show HN: RoughJS – Create hand-drawn graphics using JavaScript

#47
post #19

Well, 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?

I’m assuming the parent commentator wants handdrawn-like graphics for a service or machine generated content, but wants them in different styles. Thus, tweaking what you’ve written allows him to solve both.
Post reply on HN