Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm working on a new mac with xcode but willing to switch to different compiler/whatever to make this easier if needed.

I want a program that displays a grid of pixels (all white background to start is fine), takes a user input (space bar, mouse click) as a trigger to "update" and then a routine that allows me to change the color of individual pixels based on math I do.

What is the easiest way to do this? Are there (close) templates available?
Posted
Comments
Sergey Alexandrovich Kryukov 1-Aug-14 22:58pm    
Do you want the "easiest" or something reasonable? :-)
What have you tried so far?
—SA
Member 10983886 2-Aug-14 5:38am    
Anything reasonable.

I've been working off the Xcode sprites template that renders a rotating spaceship on mouse click. I created 6 or 7 png files of different colors and drawing with those now.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900