-
Notifications
You must be signed in to change notification settings - Fork 1
Adding colors! #7
Copy link
Copy link
Open
Description
The dashboard should be anonymous by default, but we will get to that later. Each user should have their own color so that people who look at the dashboard can keep track of the players.
To do this we would have do the following things
- On construction of a user.. assign them (random?) color or pick from a set of colors. (similar to picking a secret word).
The colors could be in text. i.e. "red", "blue" .. or could be RGB values like "#FFFFFF" - Make sure to include in the serialize function so the frontend can see it.
- In the frontend on the initial contruction of the circles. Do something like circle.attr({color:user.color})
Links
http://raphaeljs.com/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels