announcements review
Download
Skip this Video
Download Presentation
Announcements & Review

Loading in 2 Seconds...

play fullscreen
1 / 7

Announcements & Review - PowerPoint PPT Presentation


  • 254 Views
  • Uploaded on

Lab 7 Due Thursday 2 D arrays - embedding graphs in an array. Computer Science Artifacts Abstraction Representations Algorithms sort, search, etc. Announcements & Review. Color. Biology - what you see Subtractive primary colors

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Announcements & Review' - Roberta


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
announcements review
Lab 7 Due Thursday

2 D arrays - embedding graphs in an array

Computer Science

Artifacts

Abstraction

Representations

Algorithms

sort, search, etc.

Announcements & Review

Lecture 24: Color

color
Color
  • Biology - what you see
  • Subtractive primary colors
    • making colors from others on paper or mixing paint
  • Additive primary colors
    • making colors from others on your computer or TV

Lecture 24: Color

subtractive color mixing
Subtractive Color Mixing

In printing and painting

  • RYB - Red Yellow Blue
    • The RYB model combines Red Yellow Blue to create other colors.
    • Mixing paints is an absorptive or subtraction process
  • CMYB - Cyan Magenta Yellow Black

Lecture 24: Color

additive color mixing
Additive Color Mixing
  • Screens - TV, computer, cell phone
  • RGB - Red Green Blue
    • The RGB additive light model combines Red Green Blue to create other colors.
    • RGB are the three primary colors in additive light models.
    • The specific shades are unspecified (and devices implement them differently).
    • http://mc2.cchem.berkeley.edu/Java/RGB/example1.html

Lecture 24: Color

colors in java
Colors in Java

Color constructor:

Color(int r, int g, int b)

  • Each of these integers are between 0 and 255

Color myColor = new Color(100, 140, 180);

int red = myColor.getRed();

int RGBvalue = myColor.getRGB();

http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html

Lecture 24: Color

java examples in bluej
Java Examples in BlueJ
  • Images as 2D arrays
  • Playing with colors

Lecture 24: Color

more questions
More Questions?

Lecture 24: Color

ad