News for hackers. Stuff that matters.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by jwilber on Tuesday December 14, 2021 @05:28PM (#29558987)
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

Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by alexkearns on Wednesday December 15, 2021 @03:55AM (#29563524)
Fantastic library. I used it to create beautiful hand-drawn style interactive timelines. See https://www.chronoflotimeline.com/blog/entry/hand-drawn-time...
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by sizediterable on Tuesday December 14, 2021 @07:30PM (#29560252)
If you didn't already notice, this is what Excalidraw uses to get its distinct style
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by stanislavb on Wednesday December 15, 2021 @12:30AM (#29562451)
The official github repo: https://github.com/rough-stuff/rough
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by stanislavb on Wednesday December 15, 2021 @12:36AM (#29562480)
so that we can track all mentioned libs here https://www.libhunt.com/posts/523016-rough-js-create-graphic...
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by rikroots on Wednesday December 15, 2021 @07:02AM (#29564785)
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.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by elikoga on Tuesday December 14, 2021 @04:52PM (#29558451)
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
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by petepete on Tuesday December 14, 2021 @05:50PM (#29559219)
Slightly related tip, if you paste CSV data into Excalidraw it'll plot a hand drawn chart for you.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by katelatte on Wednesday December 15, 2021 @03:54AM (#29563520)
I really like this, since I find this useful for drawing cool graphs with nodes and edges. Thank you for sharing!
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by burgerrito on Tuesday December 14, 2021 @08:08PM (#29560646)
Wow! This is what I was looking for a week ago. Thank you!
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by ChrisArchitect on Tuesday December 14, 2021 @10:53PM (#29561889)
(2017)
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by d4rkp4ttern on Wednesday December 15, 2021 @08:38AM (#29565697)
Would be nice if it didn’t need JavaScript code.

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

Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by animanoir on Tuesday December 14, 2021 @06:03PM (#29559366)
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.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by qmmmur on Tuesday December 14, 2021 @07:36PM (#29560329)
Yes. No-one should make cool, novel opinionated graphics libraries or else we will succumb to a monoculture. Lol
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by animanoir on Tuesday December 14, 2021 @07:52PM (#29560488)
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...
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by warent on Wednesday December 15, 2021 @04:22AM (#29563688)
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.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by animanoir on Monday December 27, 2021 @12:44PM (#29704693)
Don't take it personal, friend. I still think this ruins real style in the web.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by edoceo on Tuesday December 14, 2021 @06:34PM (#29559664)
> Cool

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

Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by eCa on Wednesday December 15, 2021 @03:00AM (#29563193)
Statement proven by Yoyoka[1].

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

Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by trutannus on Tuesday December 14, 2021 @11:22PM (#29562065)
This assumes that any given styled library will become the dominant standard.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by fouc on Tuesday December 14, 2021 @08:32PM (#29560884)
Bootstrap + Comic Sans everywhere. Beautiful.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by framecowbird on Tuesday December 14, 2021 @11:07PM (#29561968)
I'm partial to Papyrus myself. Tribal, yet futuristic.
Re:Rough.js – Create graphics with a hand-drawn, sketchy, ap... by Karupan on Tuesday December 14, 2021 @11:29PM (#29562099)