slinga
Established Member
Hey guys,
What's the easiest way to modify individual pixels in C? I'm working on a program to simulate a random monomer chain and it's movement through pores. The grid is 200x600. I obviously can't use regular print statements as the screen is much smaller than that. I want to be able to create an array of pixels and print them to the screen. What's the simplest method? As this is a school project I can't get too fancy...
What's the easiest way to modify individual pixels in C? I'm working on a program to simulate a random monomer chain and it's movement through pores. The grid is 200x600. I obviously can't use regular print statements as the screen is much smaller than that. I want to be able to create an array of pixels and print them to the screen. What's the simplest method? As this is a school project I can't get too fancy...