The percentage of people who has color blindness is 3-5% in the world. However, there is no online test for color blindness free of charge to the general public. I am thinking about using processing as a tool to create a free online test for all the people.
The attached image demo card.gif represent the end effect that I want to achieve.
The code below output circles filled with 2 colors on a white background:
size (800, 800);
background(255, 255, 255);
smooth();
fill(206, 132, 8);
noStroke();
ellipse(500, 500, 50, 50);
fill(57, 99, 82);
ellipse(600, 600, 70, 70);
save("test1.tif");
My questions are:
1. how to make the the green and yellow dots of random sizes without overlapping in space?
2. how to arrange the dots in one color (for example: yellow) in a particular shape automatically, for example: circles, rectangular, English letters, numbers, etc.
I am a medical researcher and started working on this project using the book "Getting Started with Processing". Hopefully, you can give me some directions to cut my learning curve. If you are interested, you are welcome to join me on this project and your name will listed as a contributor on the website I plan to create. Thanks.