Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Rough.js – Create graphics with a hand-drawn, sketchy, appearance (roughjs.com)
236 points by thunderbong on Dec 14, 2021 | hide | past | favorite | 23 comments


Do also check out the other cool roughjs creations (https://github.com/rough-stuff), such as annotations (rough-notation: https://github.com/rough-stuff/rough-notation) and html elements (wired-elements: https://github.com/rough-stuff/wired-elements).

Shameless plug: I also created a dataviz library that uses roughjs under-the-hood: https://github.com/jwilber/roughViz


Fantastic library. I used it to create beautiful hand-drawn style interactive timelines. See https://www.chronoflotimeline.com/blog/entry/hand-drawn-time...


If you didn't already notice, this is what Excalidraw uses to get its distinct style


The official github repo: https://github.com/rough-stuff/rough


so that we can track all mentioned libs here https://www.libhunt.com/posts/523016-rough-js-create-graphic...


That site annoys me! I can find my library on it if I type its name (Scrawl-canvas) in the search bar, but it never appears when searching by tag (eg: 'canvas') and there's no obvious thing I can change in the edit panel to make it appear in the places I want it to appear.


This looks like a wonderful library! I'm wondering how a handwritten font could fit into this api, a font like in https://github.com/timqian/chart.xkcd


Slightly related tip, if you paste CSV data into Excalidraw it'll plot a hand drawn chart for you.


I really like this, since I find this useful for drawing cool graphs with nodes and edges. Thank you for sharing!


Wow! This is what I was looking for a week ago. Thank you!


(2017)


Would be nice if it didn’t need JavaScript code.

Are there any no-code or Python tools to do the same?


Cool, but conditioning an "art style" will make the web even duller (a la Bootstrap). We should simply create a framework for people to upload and program their own sketchy art, not just serving someone's else.


Yes. No-one should make cool, novel opinionated graphics libraries or else we will succumb to a monoculture. Lol


Uhm, don't take it that personal, I'm not saying it is wrong, I'm just saying people should not rely 100% on this. People should find their own style. Sorry for having a different opinion, I guess...


Starting a reply with "Cool, but..." immediately comes across as very insincere. Your sarcastic "Sorry I guess..." at the end seals it. The reason you're being downvoted is because your soft skills kernel needs a big software patch.


Don't take it personal, friend. I still think this ruins real style in the web.


> Cool

Could just stop there. It's not like we could ever have too much cowbell.


Statement proven by Yoyoka[1].

[1] https://youtu.be/91pz1E8pAOY


This assumes that any given styled library will become the dominant standard.


Bootstrap + Comic Sans everywhere. Beautiful.


I'm partial to Papyrus myself. Tribal, yet futuristic.





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

Search: