Art Programs Raise Deep Questions

Slides:



Advertisements
Similar presentations
Chapter 2: Section 2 Visible light and Color
Advertisements

© red ©
Connecting with Computer Science, 2e
Binary Math CS208. Decimal Addition Example ) Add = 15 Write down 5, carry ) Add = 8 Write down 8 3)
SNC2D. Primary LIGHT colours are red, green, and blue SECONDARY light colours are created by combining only two of the three primary colours of light.
Color Model AbdelRahman Abu_absah Teacher: Dr. Sana'a Alsayegh.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
© Maths Support Service 2007 Binary and Hexadecimal Numbers Next Slide AE98FD AE98FD.
Digital Colour Theory. What is colour theory? It is the theory behind colour mixing and colour combination.
This presentation will cover your LCD screen with several solid colors, one at a time. This makes it fairly easy to see stuck (always on or off) pixels.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 How we represent bits, numbers, letters?
ROY G BIV The natural light that we see coming from the sun is generally perceived as white light. But we have all seen colored light in the form of a.
Physics Talk 5.10 Making Different Lights and Paints
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Adding some light to computing ….
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Color Theory And Photography
Wave Interactions Chapter 18. Properties of Waves Reflection – ability of a wave to bounce off a surface it cannot pass through –Angle of Incidence –
25.2 The human eye The eye is the sensory organ used for vision.
Number Systems CIT Network Math
Color and Vision Key Question: How do we see color?
Color on Computers. Bits and Bytes Bit: a single piece of yes/no or 0/1 data Two bits can code 4 items (00, 01, 10, 11) Three bits = 8 (000, 001, 010,
Art Elements Color. COLOR is light reflected off objects.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Fraction with pictures Convert mixed to improper fractions Convert improper to mixed fractions.
Chapter 16 Light and Color  16.1 Properties and Sources of Light  16.2 Color and Vision  16.3 Photons and Atoms.
Looking at Colors! and Colored Light Lessons 11 & 12.
Color and Vision General Physics. Band of Visible Light ROYGBIV (Red, Orange, Yellow, Green, Blue, Indigo, Violet)
IPC Notes Light & Color. The colors of light that we see are the colors of light that an object reflects towards our eyes. ex) blue jeans absorb all colors.
Colors of Pigment The primary colors of pigment are magenta, cyan, and yellow. [
Announcements Chapter 8 for today. 2 More Digitization Light, Sound, Magic: Representing Multimedia Digitally © Lawrence Snyder, 2008.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Drawing pictures … It’s not art, it’s fun.
PART TWO Electronic Color & RGB values 1. Electronic Color Computer Monitors: Use light in 3 colors to create images on the screen Monitors use RED, GREEN,
Color.
Elements of Art Color Shape Line Form Space Texture Value Which is your favorite element? OK, my favorite is…
Adding & Subtracting Decimals I will add and subtract decimals.
More Digital Representation Discrete information is represented in binary (PandA), and “continuous” information is made discrete.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
 There are 3 primary colors of light RED, GREEN, & BLUE  When these colors of light are mixed… White Light is produced  This process is called color.
Videos and resources Double Rainbow Guy: Phet color addition:
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004.
Searching Binary and Hexadecimal numeral systems
Section 4 Color.
Warm Up Between Red or Blue light, which has a larger
Digital & Interactive Media
Color Theory.
25.2 The human eye The eye is the sensory organ used for vision.
Digital Logic and Computer Organization
Colour theory.
Color.
COLOR.
Why does a blue shirt look blue?
COMS 161 Introduction to Computing
Polarization Polarized light—light waves that vibrate in a single plane Polaroid filters block one plane of light waves.
Day 11 5/24/11 Topic: Vision and Color
To do … Web Exercise: Quiz-3, HW#2 Score: update
How would you describe the color RED to a person who cannot see?
Colour Theories.
Two ways to discuss color 1) Addition 2) Subtraction
UNIT3 Colour.
Colors Computers build colors from Red, Green, and Blue; not Red, Blue, and Yellow. RGB = Red Green Blue Creating Colors Red + Blue = Purple No Red, No.
Programming Graphic LCD
HTML Colour Codes (Hexadecimal)
About Color.
What Color is it?.
Digital Image Processing
Lawrence Snyder University of Washington, Seattle
Basic Processing … Drawing pictures … It’s not art, it’s fun
How Do We See Color? Activity
Ch Light II. Light and Color (p ) Light and Matter
Ch Light II. Light and Color (p ) Light and Matter
Chapter 1 (Part c) Digital Systems and Binary Numbers
Presentation transcript:

Art Programs Raise Deep Questions Mondrian, Pollack, Albers are stars … 1/3/2019 © 2010 Larry Snyder, CSE

Lawrence Snyder University of Washington, Seattle Adding some light to computing …. Bits of Color Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004

Return To RGB Recall that the screen (and other video displays) use red-green-blue lights, arranged in an array of picture elements, or pixels Coffee Cup Pixels 1/3/2019 © 2010 Larry Snyder, CSE

Actual Pixels From TFT LCD Display 1/3/2019 © 2010 Larry Snyder, CSE

Combining Colored Light The Amazing Properties of Colored Light! Caution: It doesn’t work like pigment 1/3/2019 © 2010 Larry Snyder, CSE

Green + Red = Yellow? Colored light seems to violate our grade school rule of green = blue + yellow What gives? In pigment, the color we see is the reflected color from white light; the other colors are absorbed 1/3/2019 © 2010 Larry Snyder, CSE

White, Gray, Black You know that gray is just different degrees of white as the “light is turned down” till we get to black Black = [ 0, 0, 0] 0000 0000 0000 0000 0000 0000 Gray = [128,128,128] 1000 0000 1000 0000 1000 0000 White = [255,255,255] 1111 1111 1111 1111 1111 1111 White-gray-black all have same values for RGB 1/3/2019 © 2010 Larry Snyder, CSE

Colors Colors use different combinations of RGB Husky Purple Red=160 Green=76 Blue=230 1/3/2019 © 2010 Larry Snyder, CSE

Positional Notation The RGB intensities are binary numbers Binary numbers, like decimal numbers, use place notation 1101 = 1×1000 + 1×100 + 0×10 + 1×1 = 1×103 + 1×102 + 0×101 + 1×100 except that the base is 2 not 10 1101 = 1×8 + 1×4 + 0×2 + 1×1 = 1×23 + 1×22 + 0×21 + 1×20 Base or radix 1101 in binary is 13 in decimal 1/3/2019 © 2010 Larry Snyder, CSE

Positional Notation Logic Recall that the place represents a power of the base value d7×107 d7×27 d6×106 d6×26 d5×105 d5×25 d4×104 d4×24 d3×103 d3×23 d2×102 d2×22 d1×101 d1×21 d0×100 d0×20 d7d6d5d4d3d2d1d0 d7d6d5d4d3d2d1d0 1/3/2019 © 2010 Larry Snyder, CSE

The Red of HP As A Binary Number Given a binary number, add up the powers of 2 corresponding to 1s 1×27 = 1×128 = 128 0×26 = 0×64 = 0 1×25 = 1×32 = 32 0×24 = 0×16 = 0 0×23 = 0×8 = 0 0×22 = 0×4 = 0 0×21 = 0×2 = 0 0×20 = 0×1 = 0 1 0 1 0 0 0 0 0 =160 1/3/2019 © 2010 Larry Snyder, CSE

Green of HP As A Binary Number Given a binary number, add up the powers of 2 corresponding to 1s 0x27 = 1×128 = 0 1x26 = 0×64 = 64 0x25 = 1×32 = 0 0x24 = 0×16 = 0 1x23 = 0×8 = 8 1x22 = 0×4 = 4 0x21 = 0×2 = 0 0x20 = 0×1 = 0 0 1 0 0 1 1 0 0 =76 1/3/2019 © 2010 Larry Snyder, CSE

Is It Really Husky Purple? So Husky purple is (160,76,230) which is 1010 0000 0100 1100 1110 0110 160 76 230 Suppose you decide it’s not “red” enough Increase the red by 16 = 1 0000 1010 0000 + 1 0000 1011 0000 Adding in binary is pretty much like adding in decimal 1/3/2019 © 2010 Larry Snyder, CSE

A Redder Purple Increase by 16 more 00110 000 Carries 1011 0000 + 1 0000 1100 0000 The rule: When the “place sum” equals the radix or more, subtract radix & carry Check it out online: searching hits 19M times, and all of the p.1 hits are good explanations Original +16 binary addition 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal What is 230 (the Blue of HP)? Fill in the Table: Num Being Converted 230 102 38 6 2 Place Value 256 128 64 32 16 8 4 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Place number to be converted into the table; fill place value row with decimal powers of 2 Num Being Converted 230 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 6 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 6 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 6 Place Value 256 128 64 32 16 8 4 2 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 6 2 Place Value 256 128 64 32 16 8 4 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Num Being Converted 230 102 38 6 2 Place Value 256 128 64 32 16 8 4 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE

Find Binary From Decimal Rule: Subtract PV from the number; a positive result gives new number and “1”; otherwise, “0” Read off the result: 0 1110 0110 Num Being Converted 230 102 38 6 2 Place Value 256 128 64 32 16 8 4 1 Subtract Binary Num 1/3/2019 © 2010 Larry Snyder, CSE