Lesson One: The Beginning

Slides:



Advertisements
Similar presentations
Using Journal and Other Tablet PC Tools. Tools Bars in Journal To access all tool bars click on view and select each tool bar to activate each.
Advertisements

Processing Lecture. 1 What is processing?
EndNote. What is EndNote:  EndNote is referencing software that enables you to create a database of references from your readings. Your database of references.
Pasewark & Pasewark Microsoft Office XP: Introductory Course INTRODUCTORY MICROSOFT POWERPOINT Lesson 1 – PowerPoint Basics.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Chapter 10—Creating Presentations
1 VCAM Technical Forum 2006VCAM\10_Oct\Technical Forum001 – 5/13/2015 1:55 AM Common PowerPoint Challenges Date: 04/31/2006.
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
Add the word linked between the words or and information in the first line of the text. submit.
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Scite Scintilla integrated text editor. Click here.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
IERG4180 Tutorial 4 Jim.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Portable Software. This program will explain what portable software is, how it can be used, and where it can be found. This is an advanced level technology.
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
Parts of a Computer Why Use Binary Numbers? Source Code - Assembly - Machine Code.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
How to Download and Install a Sharp Print Driver on a Mac.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
CSCI 273: Processing An Introduction. Programming Languages –An abstract "human understandable" language for telling the computer what to do –The abstract.
| | Tel: | | Computer Training & Personal Development Microsoft Office PowerPoint 2007 Expert.
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
How to use Microsoft Word. Where can I find Microsoft Word? How to select, copy and paste information Go to the document from which you wish to copy the.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
CPSC1301 Computer Science 1 Overview of Dr. Java.
CSCI Processing CSCI Introduction to Algorithm Design An Introduction.
Introduction to Processing CS 4390/5390 Fall 2014 Shirley Moore, Instructor September 3,
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Processing Workshop. What is processing? “Processing is an open source programming language and environment for people who want to program images, animation,
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Slide Show: Using Idea Machine Templates
How to Install Eclipse Click hereClick here to download Eclipse.
start The first step in the word application Add the word linked between the words or and information in the first line of the text. Add the word linked.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Microsoft PowerPoint 2013 Lesson 2.02 – Presentation Basics.
Intoduction to Andriod studio Environment With a hello world program.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Resources in Moodle Dubravka Crnić. Moodle supports a range of resource types which teachers can add to their courses. In edit mode, a teacher can add.
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
Download & Convert Videos 1.How to Download Videos from YouTube & other Web sites; and 2.Convert them to WMV format so can be edited in Windows Movie Maker.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
1 PowerPoint Lesson 1 PowerPoint Basics Microsoft Office 2013: Introductory Pasewark & Pasewark.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Using a set-up file to read ASCII data into SPSS
Lesson One: The Beginning Chapter 1: Pixels Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from
Windows Internet Explorer 7-Illustrated Essentials
Introduction to Algorithm Design
Introduction to Problem Solving & Programming using Processing 2
Introduction to Problem Solving & Programming using Processing 2
Review of Previous Lesson
Introduction to Problem Solving & Programming using Processing 2
Chloe Riley | Research Commons Librarian |
Presentation transcript:

Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference folder after install

Lesson One: The Beginning 1: Pixels 2: Processing Installing Processing Menu Options Writing Code Errors The Processing Reference (and website) The “Play” button Your first sketch 3: Interaction Learning Processing: Slides by Don Smith

Installing Finding the files Website: www. processing.org – click Download Blackboard: Files, Tools folder Version 1.0.7 is the most current Download the ‘full’ version (68MB) processing-1.0.7.zip If you already have Java installed: Install the Windows (Without Java) expert version instead processing-1.0.7-expert.zip - From www.processing.org Unzip , or open and extract files Let it choose defaults (location…) Installs Java SDK automatically and examples Puts Java files in a folder under Processing Works with XP and Vista Installs an icon on your desktop Learning Processing: Slides by Don Smith

Processing Source code Where does Java fit in? Processing provides a simple ‘front end’ to Java. Processing requires Java SDK to be installed Software Development Kit Processing has it’s own library for graphics Java’s library (API) can also be used in Processing Processing Source code Processing Library Processing Java Compiler Java Library Portable Java Program Learning Processing: Slides by Don Smith

The Java Virtual Machine (JVM) Java was designed to run on embedded systems, it was designed around a virtual machine “Write once, run everywhere” Called the JRE (Java Runtime Environment) Portable Java Program PC Mac Cell Phone Java VM Java VM Java VM Windows OS X Phone OS JRE x86 G3/4/5 CPU Running Java Program Running Java Program Running Java Program

Sketch Menu Options Processing has an ‘PDE’ called Sketch File: New, Open, Quit, Examples! Edit: Copy, Paste, Select, Indent, Comment… Sketch: Run, Stop, Show Sketch folder… Tools: Auto format, Color chooser… Help: Getting Started, Reference, Find in Reference… Learning Processing: Slides by Don Smith

PDE To run: Menu Sketch, Run, Ctrl-R or Toolbar Run button Menu Sketch Tabs Text Editor Message Line Text Area Current Line# RUN Display Window To run: Menu Sketch, Run, Ctrl-R or Toolbar Run button You either get a display window (all’s well) or an error in Message Area Learning Processing: Slides by Don Smith

Toolbar buttons Learning Processing: Slides by Don Smith

Getting Started Help, Getting Started goes to processing website and explains: Processing Development Environment (PDE) All menu options, hot keys Sketchbook Tabs, Multiple Files, and Classes Coordinates Programming Modes Rendering Modes Learning Processing: Slides by Don Smith

Sketch Files and Folders… The folder where you store your sketches is called your ‘Sketchbook’ Sketch stores files under where Processing was installed May not be where you want. Use File, Save As to select a folder on your flash drive Processing remembers where you last saved Each sketch has it’s own folder File extension ‘PDE’ is a Processing Development Environment file Double click on PDE file to open Sketch for that folder Learning Processing: Slides by Don Smith

Where are your files? Choose File, Select new location for default Preferences Select new location for default Not flash drive (not always there) Learning Processing: Slides by Don Smith

Your First Program Open a new sketch Run it… If no errors, Default name is based on date/time In the Text window, type: // My first Program Print(“Hello World by me”); rect(10, 10, 50, 50); One comment and two lines of code Run it… If no errors, What is in the Message/Text Area? What is in the Display window? Learning Processing: Slides by Don Smith

Errors The brown line tells you what is wrong Editor window: The line with the error is highlighted RECT should be lower case (rect) Note: Processing only shows one error at a time Learning Processing: Slides by Don Smith

Help, Find In Reference Does not work if word is mis-spelled Double click key word (highlights in yellow) Menu: Help, Find in Reference: (or Ctrl-Shift-F) Does not work if word is mis-spelled Normally goes directly to detailed page (local) Usually provides an example Learning Processing: Slides by Don Smith

Lab 5: Zoog Headstand Draw your alien – Upside Down! Save your sketch Use grayscale White head Black eyes Gray body Add a comment with your name at the top Add: print(“Zoog Headstand by <Your name>”); Save your sketch To your flash drive Submit your sketch (pde) via Blackbloard Learning Processing: Slides by Don Smith

Summary Processing requires (runs on) Java You can download both at the same time and install easily Processing provides a simple IDE Called PDE Sketches can be saved and copied Defaults to saving in your ‘install’ folder Use Save As to copy to flash drive Processing provides help Reference (all keywords) Find In Reference (help on one thing) Finds the first error and highlights the line above Learning Processing: Slides by Don Smith