Chapter 15, Images …a few points

Slides:



Advertisements
Similar presentations
Scanning Directly to the Flash Drive To Scan Photos To Scan Photos Open scanner lid Open scanner lid Put pictures on scanner bed face down Put pictures.
Advertisements

Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Mr. Guenther’s Hello Mr. Guenther , New Paragraphs or New Line, Generates bold text, Generates italic text, /center>Center Text Start Tag Stop Tag.
Processing the Danger Shield Everything you wanted to know about Processing but were afraid to ask By Ben Leduc-Mills.
Introduction to Programming
A Quick Introduction to Processing
Images. PImage class PImage is a class for loading and displaying an image in Processing. Declare a PImage type: PImage img; Make a new instance by loading.
Graphics. Image format's GIF Format: Use a maximum of 256 colors, and are recommendable for big areas of one color or non- continuous images. They are.
Processing Processing is a simple programming environment that was created to make it easier to develop visually oriented applications with an emphasis.
Pivot Animation Tutorial. Tutorial links: Startup Moving your figure Adding new frames Playback Adding a figure Edit figure Load new figures Creating.
CSE 113 Week 5 February , Announcements  Module 2 due 2/15  Exam 3 is on 2/15  Module 3 due 2/22  Exam 4 is on 2/25  Module 4 due 2/29.
First create a folder with your pictures/ images needed to create the story Then open Photostory 3. Click on begin a new story and click next.
Guide to Programming with Python
Tutorial 3: Working with Images. Objectives Session 3.1 – Identify the differences among image file types – Evaluate the purpose of alternative text –
Sprite Animation CSE 391 Fall 2012 Tony Scarlatos.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
BFTAW BDPA Workshop Introduction to GIMP Chris
BFTAW BDPA Workshop Introduction to GIMP Chris
Use “Paint” to create a Title Page and page 1. Start Menu 2. All Programs 3. Accessories 4. Paint 5. Click on Paint Bucket (Fill with Color) 6. Select.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Game Loop and Animation Starting Out with Games & Graphics.
Introduction to Processing CS 4390/5390 Fall 2014 Shirley Moore, Instructor September 3,
Animate picture to peek from bottom (1 of 3) 1. Right click on picture you want to animate. 2. Click on Custom Animation. 2 1 R.
Laboratory Exercise # 9 – Inserting Graphics to Documents Office Productivity Tools 1 Laboratory Exercise # 9 Inserting Graphics to Documents Objectives:
Processing can load images, display them on the screen, and change their size, position, opacity, and tint. You can load gif, png and jpg images in processing.
PowerPoint Basics Tutorial 3: Graphics In this tutorial we’ll be looking at graphics, and the various types of illustrations that can be included in a.
Getting Started with Fireworks A few tips: –Before you begin an assignment, be sure to create a folder on your drive for it. –If your canvas is checkered,
Processing Workshop. What is processing? “Processing is an open source programming language and environment for people who want to program images, animation,
Animation Pages Function Function Definition Calling a function Parameters Return type and return statement.
Game Programming Step-11 Learn How to Change prepare matrix texture into the game.
Photoshop Image Slicing. Reasons to Image Slide To create links out of sliced images To optimise different areas. (flat areas of colour, such as logos,
PowerPoint for Art Students and Teachers Love it Love it or hate it, PowerPoint is ubiquitous. Let's see how we can use, abuse and subvert it to our purposes.hate.
SRAM LOGO resize instructions To facilitate the use of SRAM logo for different size, i have designed the logo in *.png format (which is a format employed.
RGB lesson Mrs Ras. Open illustrator File > new change color mode to RGB.
Processing TYWu. Where can I download? 2.0b9 Windows 32-bit.
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,
Paint Tutorial Created February 2006 Start Paint: Start>Programs>Accessories>Paint.
Web Design (15) CSS Opacity, Link Colours & Background Images.
Introduction to Layers GIMP User Manual. What is a Layer? Every image in GIMP is made by combining one or more images called Layers laid on top of each.
2020 Company Confidential. GSV Global Styles Validations.
David Meredith Aalborg University
Some of Chap 17.
Pixels, Colors and Shapes
Logo with Curved Text.
Images.
“ – Attribution (Difficult) Animated snow scene
Chapter 3 Graphics and Image Data Representations
Lesson One: The Beginning Chapter 1: Pixels Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from
Gimp Guide Mr Hall.
Images and Backgrounds
: Animated text countdown (Advanced)
First text statement positioned here at guide intersection
Colors.
Chapter 15, Images …a few points
“Placeholder for a quote to be animated here.”
“It is only those who never do anything who never make mistakes.”
Animated balloon floats into distance (Advanced)
For Net Art Lecture 2 J Parker
iLEAD Academy Snow Day Expectations
… a white peppermint world as far as the eye could see…
DIRECTIONS: 1. Click Enable Editing in the yellow bar above.
Topic one text label Topic two text label Topic three text label
Animated picture collection: left picture moves to front center
ALASKA How did the U.S. acquire Alaska?
Pictures in 3-D flip book (Intermediate)
The work of moving ice Chapter 8 Animated snow scene (Difficult)
5.5 Adding Photo Gallery Module
Programming for Art: Images
Chapter 15, Images …a few points
Binary CSCE 101.
Presentation transcript:

Chapter 15, Images …a few points

Getting Started PImage is a class for loading and displaying an image. 4 steps to draw an image to the screen. Add file to data folder Create the PImage variable Load the image into the variable with loadImage() Draw the image image() function

Activity Practice Example 15-1. Use image of your own. To get the image: Drag file into Processing window, or Click SKETCH>Add file, or Create the data folder and add file manually. Practice Example 15-1. Use image of your own. Next, control the height & width with the mouse. Other considerations The files accepted are GIF, JPG, PNG & TGA Spaces are OK, but the file name is case sensitive.

Animate Use translate, increment, and rotate to animate an image. Remember that rotate is measured in radians. Also, change mode to rectMode(CENTER).

Another Practice Exercise Open your Example 15-2 and let’s examine code. Use your own picture from www.pngimg.com or ww.freepngimg.com For a remix, add JPG picture as background() Use a for() loop to repeat a PNG picture across width of the screen.

All About Tinting Tint is essentially equivalent to fill(), setting the color and alpha transparency. Functions are tint() and noTint() Example: tint(0, 255, 0, 127) will give green tint with 50% opacity You can also use hexadecimal colors, e.g. tint(#FF0000, 50) will be a red tint, with near complete transparency.

Syntax of Tint and Alpha Alpha is from 0-255, where: 0 is completely transparent 255 is completely opaque Alpha tint(r, g, b) tint(r, g, b, alpha) tint(gray) tint(gray, alpha) Tint

First Example Original tint(255, 100); That is… Shows rainbow row behind waterfront pineapple. That is… white for NO color change, and 100 for partial transparency

Another Example: tint(255, 0, 0); Or tint(#FF0000); Shows a red tint with no transparency

Another Example: background(0); tint(0,200,255 ); background(0); …blue/green with no transparency background(0); tint(0,200,255,50); …blue/green with high transparency against black background.