Opacity slider and color picker


avatar
craftyBarnardo 55 [ 2:10 pm Mon Apr 23rd, 2012 ]

Two things that vastly open up the color options when drawing without encumbering the interface too much.

Replies


avatar
redheadsoldier 60 [ 2:13 pm Mon Apr 23rd, 2012 ]

Welcome to Drawception. :]

avatar
craftyBarnardo 55 [ 2:35 pm Mon Apr 23rd, 2012 ]

Thanks!

For reference, I got the idea from here: http://picturetelephone.net/

avatar
Chikkarette 41 [ 3:43 pm Mon Apr 23rd, 2012 ]

I dislike the idea of an unlimited* number of colors, and the complication of opacity.

The simplicity keeps balance between art and creativity.

avatar
Hoeloe 21 [ 4:05 pm Mon Apr 23rd, 2012 ]

Opacity isn't necessary, but more colours would be preferable. We only have one red, for example, and the pink is horrendous...

avatar
Argento 30 [ 11:19 pm Tue Apr 24th, 2012 ]

I've been hacking at the draweception tools for a while now, and I'm not even sure an opacity option is even possible.

If it was, our eraser would be an actual ERASER, as it is right now, it just paints in #FFFDC9 :(

avatar
Hoeloe 21 [ 2:04 am Wed Apr 25th, 2012 ]

With the current tool, perhaps not, but with the right fiddling, of course it's possible.

avatar
redheadsoldier 60 [ 4:02 am Wed Apr 25th, 2012 ]

The applet seems to have updated a while back and now the image saves with a solid, sticky note-coloured background.

avatar
redheadsoldier 60 [ 4:39 am Wed Apr 25th, 2012 ]

Not to derail into a massive tangent, but... @Argento, Javascript is one of my weaknesses. Would it be possible to hotkey the Submit button to one of the keys on the keyboard?

avatar
Hoeloe 21 [ 5:39 am Wed Apr 25th, 2012 ]

Should be. I haven't looked at the source code for this applet, but it should be possible.

avatar
redheadsoldier 60 [ 5:56 am Wed Apr 25th, 2012 ]

If I'm not mistaken, all that need be done is just attach the savepaneldrawing() function to a specific key somehow. Unfortunately, that level of code is beyond me at this moment.

avatar
Hoeloe 21 [ 7:48 am Wed Apr 25th, 2012 ]

You'll need to add a keyboard listener first. I suggest Googling it.

avatar
redheadsoldier 60 [ 8:50 am Wed Apr 25th, 2012 ]

Oh gosh. That looks like so much work for a Javascript noobie like myself. I'll have to remember to come back to this issue when I have time to sit down and study it.

If I'm feeling particularly skilled with my pen tablet, I may just link savePanelDrawing() to an <a> tag around the brushes so I can punch it even while I'm zoomed in.

Didn't mean to derail the thread here, guys. My apologies.

avatar
Argento 30 [ 9:06 am Wed Apr 25th, 2012 ]

Sure, I could do that. I know that ctrl-z is bound to Undo, so adding in one for submit shouldn't be too hard. :)

avatar
vyruss 51 [ 10:18 am Wed Apr 25th, 2012 ]

A color picker and opacity slider would fit into the interface better than the current palette. The color picker could function a la mspaint circa windows 95, just a single band of 256 colors. Mouseover and mouseclicked would pick the value and the opacity slider would be a trivial addition of a sider beneath said band.

It'd simplify the interface to more experienced painters, and be a great way to learn for the new ones :)

avatar
Ackter 66 [ 10:20 am Wed Apr 25th, 2012 ]

But would also take away a huge chunk of the simplistic charm of the game.

avatar
Hoeloe 21 [ 10:51 am Wed Apr 25th, 2012 ]

One possibility is the option to set the game to "basic" or "advanced" mode on your profile. Basic would have the current interface, with predefined colours for people who like to play it simple, while advanced would feature a full range of colours for those who want to make more detailed art, at the expense of time while choosing colours.

avatar
Arrangemonk 44 [ 11:01 am Wed Apr 25th, 2012 ]

i also want expert mode where only shades of 4 shades of gray are avalible XD

avatar
vyruss 51 [ 1:18 pm Wed Apr 25th, 2012 ]

Expert mode with 4 colors as chosen by the game maker.

A wider palette wouldn't make much difference, its just that there's no exact color needed for a certain object. Painting skintones then going dk gray > black is unglay.

avatar
Argento 30 [ 3:58 pm Wed Apr 25th, 2012 ]

The worst offence with the grays is that there's a dark gray, and "almost middle" gray, but no light gray.

(As percentages of black, you have 0% (white), 45%, 75% and 100% (black). Why no love for 25%?)

avatar
craftyBarnardo 55 [ 1:28 pm Thu Apr 26th, 2012 ]

For the record, by 'color picker' I really meant 'eyedropper', but an actual color picker would be nice too. Actually and eyedropper is pretty much mandatory if you also have an opacity slider. Otherwise it would be really hard to match a blended color.

Post Reply


Please login to post a reply.