Open dhowe opened 5 months ago
Hi dhowe — I sent a few emails about it and haven't heard back. So I'm just figuring it out myself. I have questions too – you wanna start a brushstroke.js club?
@dhowe Send an email if you wanna connect — jason at whitewhale dot net. I have a project that this library is absolutely ideal for, and I'm trying to puzzle through a couple of questions.
welcome to hit me up with questions, but I haven't really dug into it...
Hi Daniel, thanks for writing.
I'm working on a web design with lots of graphics like this: [image: image.png]
and my dream is to have those scribbles draw themselves out when you scroll to this feature. I've got the basic functionality working, by creating an SVG file that's just a path and then having the brushstroke operate on it. The current thing I'm hoping to figure out is whether I can put the canvas somewhere specific in the DOM (like in the spot where the script is firing) as opposed to at the end of the
. I feel like this is gonna work great for me if I can sort out a few of those questions.I'm assuming you're not a developer for hire that I could pay to figure this out for me! If not, I'd be happy to share some codepens and see what's possible. Thanks!
Jason
On Wed, May 15, 2024 at 3:57 AM Daniel Howe @.***> wrote:
welcome to hit me up with questions, but I haven't really dug into it...
— Reply to this email directly, view it on GitHub https://github.com/lmgonzalves/brushstroke/issues/9#issuecomment-2112197577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMWFNRQSF7YDJOAWG5FHWDZCM5RDAVCNFSM6AAAAABF6NYQG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGE4TONJXG4 . You are receiving this because you commented.Message ID: @.***>
-- White Whale Web Services Design, strategy, and technology for colleges and universities www.whitewhale.net
Jason Pontius, president @.***
510-808-4028
The current thing I'm hoping to figure out is whether I can put the canvas somewhere specific in the DOM (like in the spot where the script is firing) as opposed to at the end of the
.
Sure you can place your canvas anywhere in the DOM that you like... the script src tag for your js file should be at the end of the body, not the canvas element
Huh. Here's a pen: https://codepen.io/jasonpontius/pen/zYQvRbK
Are you suggesting I can add the canvas to the HTML, and the script would put the brushstroke inside it? That didn't work in my testing but that'd be great if it did.
Oh haha, look, root
.
greetings, I'm curious if the library is still being maintained -- don't want to create an issue if no one will see it, cheers