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 threadsShow all commentsShowing thread 10 of 26[-]XCSme6 years ago1 reply#This is cool. I wonder if this could just be a CSS library instead, where you just add the class "annotate-circle" to an element and it will use pseudo-elements (:before, :after) to draw the lines.[-]tiborsaas6 years ago2 replies#With CSS Houdini it's possible.To draw these irregular lines / shapes with normal CSS it's really hard, maybe if you inline some SVG.shihn6 years ago#I did implement a version of this in Houdini a couple of years back, that and a short thread of what Houdini was lacking in this case: https://twitter.com/preetster/status/1265679970006757376XCSme6 years ago#Couldn't that be achieved with gradients?
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
XCSme6 years ago1 reply#This is cool. I wonder if this could just be a CSS library instead, where you just add the class "annotate-circle" to an element and it will use pseudo-elements (:before, :after) to draw the lines.
tiborsaas6 years ago2 replies#With CSS Houdini it's possible.To draw these irregular lines / shapes with normal CSS it's really hard, maybe if you inline some SVG.
shihn6 years ago#I did implement a version of this in Houdini a couple of years back, that and a short thread of what Houdini was lacking in this case: https://twitter.com/preetster/status/1265679970006757376
Comments (74) 26 threads
Show all comments
Showing thread 10 of 26
To draw these irregular lines / shapes with normal CSS it's really hard, maybe if you inline some SVG.