DanielSeehausen / fi-field-day

Flatiron WSServer for Hackathon
4 stars 6 forks source link

Color picker #76

Closed Dick-Ward closed 6 years ago

Dick-Ward commented 6 years ago

Color picker is up and running! I'm totally happy to resize/style, but for now, it's functional. I currently have it set so that people have to re-select the "paint" button every time they want to make a dot, just to slow em down a little. This can easily be changed :)

One major issue that I'm running into is that all post requests sent to the server are applying backwards to the canvas. This seems to be a server issue and not a canvas client issue. As such, applyColor() on line 38 of colorSelect.js has its X and Y reversed until things are sorted :)

HMU with questions/suggestions!

bitmoji

DanielSeehausen commented 6 years ago

let me reverse that on the server (thanks for pointing out dick). It is set up right now to do (row, column), not true x, y. this is my fault because im always thinking in Matrix[a][b] like a noob.

DanielSeehausen commented 6 years ago

this is dank with the color selector option. will incorporate soon but keep as branch for now please!