Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only one color showing #79

Open
laznuzzi opened this issue Dec 2, 2015 · 2 comments
Open

Only one color showing #79

laznuzzi opened this issue Dec 2, 2015 · 2 comments

Comments

@laznuzzi
Copy link

laznuzzi commented Dec 2, 2015

Hi there,

This might be a really dumb question....but I've been tweaking the code and I can't seem to figure out how to make more than one color show up as you have shown it in the screenshot.

I assume there is an easy way since you already have the colors named with

var COLOURS = [ '#A7EBCA', '#FFFFFF', '#D8EBA7', '#868E80' ];
var radius = 0;

I was trying something like this (but it doesn't work):

if (mousePressed) {
stroke(#67B2E8);

} else {
stroke(0);

}

Thank you!

@soulwire
Copy link
Owner

soulwire commented Dec 4, 2015

I'm not quite sure what you mean. In the screen shot, that's showing the multitouch (use 2 fingers on a touch device and you should see more than 1 colour.) Or do you want to switch colours each time a mousedown happens?

@laznuzzi
Copy link
Author

laznuzzi commented Dec 5, 2015

Oh! That's on a touch device! Pretty awesome. I wasn't aware. I do think it
would be really cool to have a different color on mouse down but don't
worry about it, I don't want to take your time :)

Thank you for replying to me and clarifying my question.

Nazarena
On Fri, Dec 4, 2015 at 2:44 PM Justin Windle [email protected]
wrote:

I'm not quite sure what you mean. In the screen shot, that's showing the
multitouch (use 2 fingers on a touch device and you should see more than 1
colour.) Or do you want to switch colours each time a mousedown happens?


Reply to this email directly or view it on GitHub
#79 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants