Graphics in Turing. (0,0) (maxx,maxy) Variables that do not have to be declared that give you the maximum value for your x and y co-ordinates. (maxx,0)

Slides:



Advertisements
Similar presentations
PROPIEDADES (Z = x - iy) * z1 +z2 = z1 +z2 * z = z * z1z2 =z1 +z2 * Z= Z * z1 / z2= z1/ z2 * Z = -Z Re {Z} = z + z Im {Z} = z - z 2 2i.
Advertisements

3 hr 5 hr 8 hr Hours worked Charge
1.1 Line Segments, Distance and Midpoint
SMELS: Sat Modulo Equality with Lazy Superposition Christopher Lynch – Clarkson Duc-Khanh Tran - MPI.
3.6 PARALLEL LINES IN THE COORDINATE PLANE 1 m = GOAL
5.3 Inverse Function.
D x D V y 1 L x D L x 1 L x 2 V y 2 V y 3 xDxD y1y1 y2y2 x1x1 x2x2 y3y3 x3x3 y4y4 z.
O A Corpo 1 Cinemática e Cinética de Partículas no Plano e no Espaço Análise Dinâmica dos Corpos O X Y X1X1 Y1Y1 X2X2 Y2Y2 X3X3 Y3Y3 A B P l = 75 mm l.
Applets and Graphics.
Measuring Nanostructures. How do we see nanostructures? A light microscope? Helpful, but cannot resolve below 1000 nm An electron microscope? Has a long.
Graphics Primitives: line
Graphs & Linear Equations
The Derivative in Graphing and Application
Linear Transformation of post-microaggregated data Mi-Ja Woo National Institute of Statistical Sciences.
One-to-One Functions; Inverse Function
Slope of a Line 11-2 Warm Up Problem of the Day Lesson Presentation
Calculating Slope m = y2 – y1 x2 – x1.
Polynomial Functions.
Slope Problems.
Program verification: flowchart programs Book: chapter 7.
Program Verification Using Hoares Logic Book: Chapter 7.
Linear Equations in Two Variables
Example 3 Graphing a Complete Graph Chapter 1.2 Sketch the graph of. a.using the standard window. b.using the window x min = -10, x max = 10, y min = -25,
Higher Order Universal One-Way Hash Functions Deukjo Hong Graduate School of Information Security, Center for Information Security Technologies, Korea.
Another example Max z=5x1+12x2+4x3-MR S.t. x1+2x2+x3+x4=10
Chapter 15 Graphics. To paint, you need to specify where to paint. Each component has its own coordinate system with the origin (0, 0) at the upper-left.
Copyright 2006 by Pearson Education 1 Building Java Programs Supplement 3G: Graphics.
2D Graphics Drawing Things. Graphics In your GUI, you might want to draw graphics E.g. draw lines, circles, shapes, draw strings etc The Graphics class.
Numbers & Geometry Points and Distances. 6/3/2013 Numbers and Geometry 2 Distance d between numbers a and b d = Example: | = Points and Distances.
 putpixel function plots a pixel at location (x, y) of specified color.  Declaration :- void putpixel(int x, int y, int color);
Graphing Lines Day 0ne. Cover the concepts: Relation Function
On / By / With The building blocks of the Mplus language.
Computer Engineering Activities Introduction to Interfacing Traffic Light Project SI 2003 Graham Smyth Yungsiow Yang Kevin Shea Jerry Dolata Ilana Smyth.
Gradient of a straight line x y 88 66 44 2 44 4 For the graph of y = 2x  4 rise run  = 8  4 = 2 8 rise = 8 4 run = 4 Gradient = y.
Machine Vision Applications Handling Semi-flexible Objects: Scissors.
Lab # 03- SS Basic Graphic Commands. Lab Objectives: To understand M-files principle. To plot multiple plots on a single graph. To use different parameters.
There are two basic categories: There are two basic categories: 1. Feed-forward Neural Networks These are the nets in which the signals.
1.1 The Cartesian Plane Ex. 1 Shifting Points in the Plane Shift the triangle three units to the right and two units up. What are the three.
A.F 3.1- Graph Functions A.F 3.3- Slope
COORDINATE PLANE.
Lecture 3 A First Graphic Program. Features of a simple graphic program.
By Matty Lu and Mc-Welch
Computer Graphics … how renderings are done on a computer. Art 321 Dr. J Parker Winter.
Straight Line Equation.
Solving Rational Equations Solving Rational Equations
Lesson One: The Beginning
CSE 1341 Honors Professor Mark Fontenot Southern Methodist University Note Set 21.
Xiaoying Gao Computer Science Victoria University of Wellington Copyright: Xiaoying Gao, Peter Andreae, Victoria University of Wellington Graphical Output,
STATE SPACE MODELS MATLAB Tutorial.
function[y,n]=sigadd(x1,n1,x2,n2)
Object Oriented Programming one of the main reasons we now teach Java instead of C++. C++ was designed to be backwardly compatible with the original.
LECTURE 15 Introduction to Functions. Informal idea of a function  A function converts an input to an output  The inputs are called actual parameters.
SATISFIABILITY Eric L. Frederich.
CSE202: Lecture 3The Ohio State University1 Assignment.
(a) (b) (c) (d). What is (1,2,3)  (3,4,2)? (a) (1, 2, 3, 4) (b) (1,2)  (3,4) (c) (1,3,4,2) (d) (3,1)  (4,2)
Agenda For Feb Discussion (Assignments & Rubric) 2. PowerPoint Presentation (Drawing Basic Shapes). 4.Read Unit 3 carefully (pages ) then.
Introduction to Interfacing Projects Nareen Khan.
Lab 5: drawing and output User Interface Lab: GUI Lab Sep. 25 th, 2013.
Geometric Theory and mesh construction. Vertices Vertices are found on 3D shapes. A vertex is a corner on a shape, you can use the vertex to change the.
Simple Turing Graphics Woof, Bark, Bark. The Screen (0,0)(600,0) (600,400)(0,400) (150,300) First line of code: View.Set(“graphics:600;400”)
ΜΕΤΑΣΥΛΛΕΚΤΙΚΗ ΦΥΣΙΟΛΟΓΙΑ ΕΡΓΑΣΤΗΡΙΟ 3. Μετασυλλεκτική Εργ3-Λιοσάτου Γ.2 ΒΙΟΛΟΓΙΚΟΙ ΠΑΡΑΓΟΝΤΕΣ ΠΟΥ ΕΠΗΡΕΑΖΟΥΝ ΤΗ ΦΘΟΡΑ ΤΩΝ ΟΠΩΡΟΚΗΠΕΥΤΙΚΩΝ Αναπνοή Η λειτουργία.
WITH PYGAME ON THE RASPBERRY PI
Polynomial Functions.
Straight Line Graphs (Linear Graphs)
اثرات گرمايش جهاني تغييرات آب و هوا، تأثيرات عميق و شديدي بر بسياري از عوامل اساسي موثر بر سلامت از جمله : آب، غذا، هوا و محيط زيست دارد كه اين مورد خود.
ألاطراف ذات العلاقة. ألاطراف ذات العلاقة التعريـف   وفقاً للمعيار الدولي IAS 24 تتضمن الأطراف ذات العلاقة كل من المدراء والموظفين والشركات والمؤسسات.
10:00.
Warm Up Given y = –x² – x + 2 and the x-value, find the y-value in each… 1. x = –3, y = ____ 2. x = 0, y = ____ 3. x = 1, y = ____ –4 – −3 2 –
Co-ordinates in 4 Quadrants.
Parallelogram: Sides opposite are parallel
Presentation transcript:

Graphics in Turing

(0,0) (maxx,maxy) Variables that do not have to be declared that give you the maximum value for your x and y co-ordinates. (maxx,0) (0,maxy)

What are maxx and maxy? They will be whatever you set them at DEFAULTS Maxx 639 Maxy setscreen ("graphics:max;max,nobuttonbar") Setscreen (nocursor) turns off input cursor Setscreen (noecho) does not show letters as you type

(0,0) Maxx=639 Maxy=399 drawline(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 Drawoval(x,y,xr,yr,color)

(0,0) Maxx=639 Maxy=399 drawbox(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawstar(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawmapleleaf(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawarc(x,y,xr,yr,ia,fa,color)

(0,0) Maxx=639 Maxy=399 drawfilloval(x,y,xr,yr,color1)

(0,0) Maxx=639 Maxy=399 drawfillbox(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawfillstar(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawfillmapleleaf(x1,y1,x2,y2,color)

(0,0) Maxx=639 Maxy=399 drawdot(x,y,color)

(0,0) Maxx=639 Maxy=399 drawfillarc(x,y,xr,yr,ia,fa,color)

(0,0) Maxx=639 Maxy=399 Drawfill(x,y,color1,color2) Drawfill Used for triangles and other odd shapes that you make. This will let you colour them in.