Skip to content

Instantly share code, notes, and snippets.

View brennanpincardiff's full-sized avatar

Paul Brennan brennanpincardiff

View GitHub Profile
@brennanpincardiff
brennanpincardiff / README.md
Last active August 29, 2015 14:03
Change color with radio selector
@brennanpincardiff
brennanpincardiff / README.md
Last active August 29, 2015 14:05
More efficient code to create a radio selector
@brennanpincardiff
brennanpincardiff / README.md
Last active August 29, 2015 14:05
Even more simple code to change color with a dialog box

This code is more efficient yet. The box is drawn black first and then the color is changed by selecting the relevant button. I didn't need the timeout function. I can do all the drawing in one function. No need for if statements. Simplied version of http://bl.ocks.org/brennanpincardiff/8e56ef6f51564955aeea