Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

As mentioned earlier, the algorithm used to generate the Mandelbrot and Julia sets was based on the pseudocode provided in the lab notes. Our implementation of that algorithm, in conjunction with the Mandelbrot.c file (which contained a Main function to generate the image and specify its dimensions), allowed us to create a number of different images: 
Image Added


This is an image of the Mandlebrot set generated by setting the zero attractor pixels to display only blue pixels of low random intensity (yielding different shades of dark blue) and the infinity attractor pixels to random shades of green and blue. Image Added
This is an image of the Julia set generated using random shades of red and blue.
 
Image Added
This is the same Julia set representation as the image above, but in this image, the background is all black, and the zero-attractor pixels are entirely random colors.






After working in depth with the Mandelbrot and Julia sets, we began manipulating a blue-screen image. Some of our results:
Image Added
The first stage of the blue screen part of the assignment. In this exercise, we removed the blue background and replaced it with black pixels.
 
Image Added


This image was generated by removing different parts of the color spectrum. The shadow was replaced with random red pixels, and the white four-leaf clover on the shirt was replaced with random blue pixels. We made one additional color modification. Can you find it?
Image Added

To create this image, we replaced the blue screen background picture with an image of the Wu-Tang Clan. Please let us know if you would like a bigger version for your desktop wallpaper. Image Added
 
This picture needs no caption. Image Added
 


This final image was created by reading in a background image of a different size than the original image. The original image was reimported multiple times in varying locations.


...

Conclusion
This assignment taught us a great deal about how images actually are created and how colors can be altered to generate different effects. It's one thing to know how to use a program like Photoshop or Gimp, but it's much more important to understand the science between behind those programs. In addition to attaining this graphics knowledge, we gained a MUCH much greater understanding of C as a result of this assignment, a skill that may be useful from time to time over the course of the semester.

...