r/javaScriptStudyGroup • • May 15 '16

Check out my latest CodPen!

http://codepen.io/ForScale/full/rebPvL
2 Upvotes

28 comments sorted by

View all comments

Show parent comments

1

u/ForScale May 17 '16 edited May 17 '16

Lol! NOT ANNOYING! :)

But... I don't think it's working for me... The code makes sense and on a quick scan I can see what it's supposed to be doing, but I'm just getting a black canvas/screen. It's never drawing a blue line for me... I'll take an in depth look later on to see if I can get it working!

Not at all sure what was wrong the first time I was playing with it, but I threw in a few alerts to make sure all the handler functions were working and now the drawing is working! I have no way to explain that...

I like the outsideCanvas thing. That's a great idea!

Using Chrome, btw.

*and lol, you didn't steal mousemove from me. It's like saying you stole var from me! :)

1

u/Volv May 18 '16

Zoom! - Codepen

2

u/ForScale May 19 '16

Ah... that's awesome! I looked through the code... The zoom effect is a brand new canvas, right?

2

u/Volv May 19 '16

yeh, little piece stretched onto a new canvas

1

u/ForScale May 19 '16

Really cool!

My challenge to you now... Add some kind of functionality that you don't typically see in simple drawing applications like MS Paint...

What that atypical feature is is up to you! :)