Back to front pageView on Hacker News (opens in a new tab)Show HN: RoughNotation – create and animate hand-drawn annotations on a web page (opens in a new tab)roughnotation.com696 pointsby shihn (on Hacker News)6 years agoroughnotation.com (opens in a new tab)RoughNotationA small JavaScript library to create and animate hand-drawn annotations on a web pageComments (74) 26 threadsEarlier commentsthadk6 years ago#This can be used in an ObservableHQ notebook as demonstrated here: https://observablehq.com/@thadk/rough-notation-example[-]chadlavi6 years ago1 reply#This is neat but I totally thought it was going to let me doodle on the page myself[-]shihn6 years ago1 reply#Ah sorry, should have titled the post better. :/chadlavi6 years ago#That's cool, this is still a neat thing! And I think it could probably be fairly simply hooked up to respond to user input as part of a markup tool.tumblen6 years ago#Love it! Looking forward to using it in future projects![-]julianeon6 years ago3 replies#I'd love to use this, but I don't see an easy way how to using the frameworks I know, React (well) and Svelte (a bit).[-]shihn6 years ago1 reply#People have created framework wrappers for this:Rect: https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notationjulianeon6 years ago#Wow, thanks! That's exactly what I want, with a demonstration code example. I'll be using this.[-]495316 years ago1 reply#You can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.julianeon6 years ago#I'll look into this, thanks.yurry6 years ago#I advise you to learn Javascript/DOM before learning high level 'magic' frameworks. You clearly are missing the fundamentals.Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
Show HN: RoughNotation – create and animate hand-drawn annotations on a web page (opens in a new tab)roughnotation.com696 pointsby shihn (on Hacker News)6 years ago
thadk6 years ago#This can be used in an ObservableHQ notebook as demonstrated here: https://observablehq.com/@thadk/rough-notation-example
chadlavi6 years ago1 reply#This is neat but I totally thought it was going to let me doodle on the page myself
chadlavi6 years ago#That's cool, this is still a neat thing! And I think it could probably be fairly simply hooked up to respond to user input as part of a markup tool.
julianeon6 years ago3 replies#I'd love to use this, but I don't see an easy way how to using the frameworks I know, React (well) and Svelte (a bit).
shihn6 years ago1 reply#People have created framework wrappers for this:Rect: https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notation
julianeon6 years ago#Wow, thanks! That's exactly what I want, with a demonstration code example. I'll be using this.
495316 years ago1 reply#You can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.
yurry6 years ago#I advise you to learn Javascript/DOM before learning high level 'magic' frameworks. You clearly are missing the fundamentals.
Comments (74) 26 threads
Earlier commentsRect: https://github.com/linkstrifer/react-rough-notation Svelte: https://github.com/dimfeld/svelte-rough-notation Vue: https://github.com/Leecason/vue-rough-notation
All comments shown.
Couldn't load more comments. Check your connection and try again.