A Few Notes August 30, 2017.

Slides:



Advertisements
Similar presentations
Lesson One: The Beginning Chapter 3: Interaction Learning Processing: by Daniel Shiffman Presentation by Donald W. Smith Graphics from text.
Advertisements

Radian Measure and Coterminal Angles
Chapter 4: Circular Functions Lesson 1: Measures of Angles and Rotations Mrs. Parziale.
Objective: Convert between degrees and radians. Draw angles in standard form. Warm up Fill in the blanks. An angle is formed by two_____________ that have.
Angles and Their Measure Section Angles Vertex Initial Side Terminal Side.
Introduction to Radians (Definition, Converting Between Radians and Degrees, & When to use Degrees or Radians)
6.3 Angles & Radian Measure
13-3: Radian Measure Radian Measure There are 360º in a circle The circumference of a circle = 2r. So if the radius of a circle were 1, then there a.
Programming for Artists ART 315 Dr. J. R. Parker Art/Digital Media Lab Lec 10 Fall 2010.
Chapter 13: Trigonometric and Circular Functions Section 13-2: Measurement of Arcs and Rotations.
Angles.
1 k Jarek Rossignac,  2008 Processing  Install Processing  Learn how to edit, run, save, export, post programs  Understand.
3.1 Radian Measure OBJ: Convert degree measure to radian measure Find trig values of angles expressed in radian measure.
Angles in Degree & Radian Measure w/Unit Circle
Trigonometry The science of studying angle measure.
Continuous February 16, Test Review What expression represents the zip car eligibility rules of at least 18 years old and no incidents?
Keyboard and Events. What about the keyboard? Keyboard inputs can be used in many ways---not just for text The boolean variable keyPressed is true if.
Processing Lecture.2 Mouse and Keyboard
Introduction to Processing CS 4390/5390 Fall 2014 Shirley Moore, Instructor September 3,
4.1 Day 1 Angles & Radian Measure Objectives –Recognize & use the vocabulary of angles –Use degree measure –Use radian measure –Convert between degrees.
Introduction to Processing. 2 What is processing? A simple programming environment that was created to make it easier to develop visually oriented applications.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 02b: Tutorial for Programming in Processing Jarek Rossignac.
B. RAMAMURTHY Simulating Motion and Implementing Animation.
CIS 3.5 Lecture 2.2 More programming with "Processing"
And because we are dealing with the unit circle here, we can say that for this special case, Remember:
Angle Measures Practice. Determine the reference angle for the following angles:
Mouse Inputs in Processing. Interacting with the Mouse mouseX and mouseY: pg mouseXmouseY –The position of the mouse in the canvas pmouseX and.
Computer Science I Recap: variables & functions. Images. Pseudo-random processing.
Chapter 4-1: Measures of Angles as Rotations. Review… Angle: The union of two rays which are its sides with the same vertex or endpoint. Angle: The rotation.
Radian Measure That was easy
LESSON 6-1: ANGLES & THE UNIT CIRCLE BASIC GRAPHING OBJECTIVE: CONVERT BETWEEN DEGREE AND RADIAN MEASURE, PLACE ANGLES IN STANDARD POSITION & IDENTIFY.
1 SIC / CoC / Georgia Tech MAGIC Lab Rossignac Processing  Install Processing  Learn how to edit, run, save, export,
Processing Variables. Variables Processing gives us several variables to play with These variables are always being updated and you can assume they have.
Agenda Notes : (no handout, no calculator) –Reference Angles –Unit Circle –Coterminal Angles Go over test Go over homework Homework.
Section 4.1. Radian and Degree Measure The angles in Quadrant I are between 0 and 90 degrees. The angles in Quadrant II are between 90 and 180 degrees.
Measures of Angles and Rotations. Vocabulary Degrees  360 degrees makes a full circle  270 degrees makes a three quarter circle  180 degrees makes.
Lesson 13.2 Define General Angles and Use Radian Measure.
Chapter 7: Trigonometric Functions Section 7.1: Measurement of Angles.
Warm Up I can complete the unit circle and convert degrees to radians.
Introduction to Processing David Meredith Aalborg University Art &Technology, 3rd Semester Programming.
Grade Homework HW 13.2A Answers.
Some of Chap 17.
Radians & The Unit Circle
This part of the unit is really about equivalence:
Chapter 14, Translate & Rotate
9.3B Notes: Angle conversions
Radian Measure and Coterminal Angles
Radian Measure of a Central Angle
Students, Take out your calendar and your homework. Take out your spiral notebook and Complete the DNA. Use your notes if necessary. Simplify.
For Net Art Lecture 2 J Parker
Chapter 10 Algorithms.
Trigonometry Extended: The Circular Functions
Mouse Inputs in Processing
Chapter 10 Algorithms.
More programming with "Processing"
Angles and Radian Measure
Angles in standard Position
A Few Notes Starting August 29, 2018
Introduction to Problem Solving & Programming using Processing 2
Control structures Chapter 3.
Control structures Chapter 3.
Introduction to Problem Solving & Programming using Processing 2
Control structures Chapter 3.
Trigonometry & Random March 2, 2010.
How About Some PI? Trigonometry Feb 18,2009.
Warm Up Give radian measure for each: 90º b) 120º c) 135º
( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , )
Continuous & Random September 21, 2009.
Introduction to Problem Solving & Programming using Processing 2
Define General Angles and Use Radian Measure
Presentation transcript:

A Few Notes August 30, 2017

Chapter 2 in a nutshell Saving files; Location Saved in folder with same name; reason HELP/Reference Use comments generously Println() and Error in console help with debugging Textbook website Don’t neglect Zoog. He’s your friend! //My comments. /* Here is a multi-line comment in Processing Language */ Examples: println(“hello world”); println(width);

Processing measures degrees or radians of a circle differently: 0 degrees/radians is located on the right side of the circle as expected. However, it increases in the clockwise direction rather than counterclockwise. Angles can be specified: in radians; in degrees (by converting into radians); or by special names of common angles, stored as variables.

Formula: Degree *( pi/180)

void setup() { // Called once when program starts } void draw() { // Called repeatedly while program runs  

void setup() { size(200, 200); } void draw() { background(255);   void draw() { // Try moving background() to setup() to see the difference. background(255);   stroke(0); fill(175); rectMode(CENTER); fill(#ff0000); rect(mouseX, mouseY, 50, 50);

void mousePressed() { // Called when the mouse is pressed }   void keyPressed() { // Called each time a key is pressed frameRate(fps); Sets number of frames displayed per second. i.e. the number of times draw() is called per second. Default = 60.

Use save() in your homework The save() function is placed within draw(). It generates a file based on the name you specify. Example: Save(bunnypic.jpg);