Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

CIS 115

Lecture 10: Computer Graphics

Steve Russell & PDP-1

Image Source: Wikipedia

Spacewar!

Image Source: Wikipedia

Animations

Image Source: Wikipedia

Cathode Ray Tube (CRT)

Image Source: Wikipedia

René Descartes

Image Source: Wikipedia

Cartesian Coordinates

Image Source: Wikipedia

Display Coordinates

Pixel

Image Source: Wikipedia

3D Graphics

Image Source: Wikipedia

Wireframe

Edges

  1. 1 → 2
  2. 2 → 3
  3. 3 → 4
  4. 4 → 1
  5. 5 → 2
  6. 6 → 7
  7. 7 → 8
  8. 8 → 5
  9. 1 → 5
  10. 2 → 6
  11. 3 → 7
  12. 4 → 8

Vertices

  1. 1,1,1
  2. 1,-1,1
  3. -1,-1,1
  4. -1,1,1
  5. 1,1,-1
  6. 1,-1,-1
  7. -1,1,-1
  8. -1,-1,-1

Wireframe

Suzanne

Image Source: Wikipedia

Perspective Projection

Image Source: Wikipedia

Perspective Projection

Image Source: Wikipedia

Ray Tracing

Image Source: Wikipedia

Ray Tracing

Image Source: Wikipedia

Shader

Image Source: Wikipedia

Graphics Processor

Image Source: Wikipedia

Computer Animation

Image Source: Wikipedia

Uncanny Valley

Image Source: Wikipedia

Voxel

Image Source: Wikipedia

Voxel Example

Image Source: Wikipedia

Minecraft

Image Source: Wikipedia

Assignments

  • Read and be prepared to discuss:
    • Blown to Bits Chapter 1: Digital Explosion
  • Blog 4: Cryptography - Due 9/29 10:00 PM
  • Scratch Chaocipher Project - Due 10/1 10:00 PM

Blog 4: Cryptography

Many systems today depend on cryptography that is assumed to be unbreakable with modern technology. However, imagine a world where that was no longer the case. Each time you purchase something on the internet, there would no longer be anything preventing someone from intercepting your information. The same would apply to sites such as Facebook, GMail, and even your banking or medical information. Anything you store on a computer could be accessed by anyone that wants to get it. Write about how you think that would affect our perception of technology and how we use it in our daily lives. Some thoughts to ponder:

  • Would we stop shopping online, even if it is more convenient to do so?
  • Would we be less likely to share information on social media sites?
  • Would we insist that institutions such as banks or hospitals use only paper records, even though we understand that it will result in a rise in human errors?
  • Are there uses of technology which are popular today that would disappear in this world? Or are there uses that would become much more common?

Chaocipher

  • Developed by J.F. Byrne in 1918
  • Described in his 1953 autobiography
  • Machine could fit in a cigar box
  • Offered a reward to anyone who solved it
  • Remained unsolved until 2010, when his papers were released posthumously by his family

Chaocipher Device

Image Source: Cryptologicfoundation.org

Drawing in Scratch

  • y = x
  • y = 2x
  • y = x2
  • y = sin(x)
  • Hexagon?
  • Octogon?

Scratch Spirograph

Image Source: Wikipedia

Spirograph Math

Image Source: Wikipedia

Spirograph Math