Color (1) Turtle class contains a method to change the pen color Note: before using Color class, you should add following line in the top of the source.

Slides:



Advertisements
Similar presentations
We Can Read About Mixing Colors
Advertisements

1/8 AND, OR and NOT b How many boys? b How many girls? b How many blue? b How many red?
Introduction to compositing. What is compositing?  The combination of two images to produce a single image  Many ways we can do this, especially in.
Original Finished Anaglyph What are we trying to do?
COLORING WITH NUMBERS. NumbersNumbers NumbersNumbers
FRACTIONS LEARNING AIMS Students will: answer the question, ‘what is a fraction?’ identify the names for the top (numerator) and bottom (denominator) of.
My Penguin Math Book By:. I see How many penguins do you see? Count them & type the number in the box penguins.
Programming in Python Turtle Graphics Dr. Kristine Nagel Genie Yang Raquel Lawrence Dr. Kristine Nagel Genie Yang Raquel Lawrence Georgia Gwinnett College.
Colors – part 3 K1066BI – Graphical Design Teppo Räisänen
Contains 16,777,216 Colors. My Car is red My Car is red How do I add colors to my web page? Notepad Browser Works with the “Standard” colors: Red, Green,
Mrs. Smith’s 7th Grade Reading Blue Class Mrs. Smith’s 7th Grade Reading Blue Class Mrs. Smith’s 7th Grade Reading Blue Class.
Web Design Vocab 12 The Last one! Applet, HTTPS, RGB Color, Rollover, Server.
COLOR PICKING PEN NOW, THE COLOR IS YOURS TO USE.
The Color Wheel Claire Heider The Primary Colors.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Web Design I Spring 2009 Kevin Cole Gallaudet University
Hexadecimal Codes 1. RGB Color Wheel 2 Before we begin Hexadecimal is a number system Based on using 0 – F to represent 0 – 15 Hex is used to represent.
One, two, three, what can you see? What can you see? I can see a schoolbag!
Java is an object oriented programming language In this model of programming all entities are objects that have methods and fields Methods perform tasks.
Fractions, Decimals, and Percents
Chapter 2: Color and Applets Coming up: Introduction to Graphics.
Digital Pictures Represented by pixels –With a red, green, and blue value stored for each pixel (each has a range from 0 to 255) Stored in.jpg (JPEG) files.
Math Project By: Tj Troup. Problem Each of three hats has colored marbles inside. The first hat has 5 green and 4 red. The second has six blue, and five.
COUNTING Directions: Write your word on the I pad and on the paper. Count the amount of letters in your word and then find the color that matches that.
Picture Lab. Manipulating Pictures Discussion and activities with java.awt.Color introduce students to megapixels, pixels, the RGB color model, binary.
If you say 8 color the ones in your picture purple. If you say 9 color the ones in your picture blue.
Name Sector/Dept Month,00, 2011 Accelerate! Sub headline goes here 1.
Fractional Parts of a Whole By:. What part of this object is colored red?
FRACTIONS & SHAPES BY:. How many of these are colored red? * out of *.
RGB lesson Mrs Ras. Open illustrator File > new change color mode to RGB.
HSB to RGB to HEX.
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 Distribution A block BrownYellowOrangeRedGreenBlue GreenYellowOrangeRedPurple M&M Skittles.
Mixing Complementary Colors to create neutrals. Complementary colors are directly across from one another on the color wheel. When mixed they get various.
CLIMATE GRAPHS. Temp In °C Precipitation In mm OTTAWA LABELS! CITY AT TOP TEMPERATURE ON LEFT IN °C PRECIPITATION ON RIGHT MONTHS ACROSS THE BOTTOM.
Set up a “Group” in G-mail August, FIRST Go to your G-mail account Click on “Contacts” under “Children Come First”
An urn contains 1 green, 2 red, and 3 blue marbles. Draw two without replacement. 1/6 2/6 3/6 2/5 3/5 1/5 3/5 1/5 2/5 2/30 3/30 2/30 6/30 3/30 6/30.
Scientific Notation. = 5.4 =3.47 Write the following in standard form A 1.8 X 10⁴ B 3.47 X 10⁷ C 4.3 X 10⁰ D 5.4 X 10⁻⁴ E 5 X 10⁻⁶ F (6 X 10⁴) (7 X 10⁵)
1 A Method for Creating Web Sites Representation and Management of Data on the Internet.
What is it? How to use it and how useful can it be?
5-4 Your brother gave you two bags of pens. One bag contained 3 blue pens and 9 red pens. The other bag contained 6 red pens and 4 green pens. Which bag.
BOYS Women X Fragment Converse.
COLORS.
Week 3 DO NOW QUESTIONS.
Week 2: Introduction to Design and CSS
Christmas Tree Counting
Computer Programming Methodology Luminance
SUPPLY CHECK! Take out the following materials:
Colors.
Foldable directions Read through the leaf parts in your notes and use the biology book to label the leaf diagram (page 618) Cut out leaves and arrows.
Name: _______________________________
Average Number of Photons
CSE 113 A January 26 – 30, 2009.
Gradient Type 1 Gradient stops: 5 Stop #: 1 Position: 0
a = imread(‘picture.jpg’); imshow(a);
Combinations Color Letter
Instructions for creating a template in MS Frontpage
Level 0.
Can I color yellow?. Can I color yellow?
Here are four triangles. What do all of these triangles have in common
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.
12.4 p 471 a) double[] number = {1.05, 2.05, 3.05, 4.05, 5.05};
What Color is it?.
January 26 – 30, 2009 CSE 113 B.
monochrome AgX material
Shell Jeopardy! Add your name here.
Non-numeric Data Representation
What color is it ? By 林小玉.
Color Box Button - Gray Type : object Type : object Type : object
Let’s Learn the Basic Colors
Presentation transcript:

Color (1) Turtle class contains a method to change the pen color Note: before using Color class, you should add following line in the top of the source file to import Color class import java.awt.Color;

Color (2) Each color is represented by three primitive colors –Red, Green, Blue (RGB color specification) –A color (what you see) changes based on the value of each primitive color –Each color will contain a value between 0~255

Color (3)

Color (4) In Java, you can create a color object Color c1 = new Color( 50, 255, 100 ); setPenColor( c1 ); Or you can simply write setPenColor( new Color( 50, 255, 100 ) ); Note: Please look at this site