Locally Edited Animations We will need 3 files to help get us started at

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
FrontPage Express By John G. Summerville Ph.D.©, RN.
Video Game Design Lesson 1. Game Designer Person involved in the development of a video game Person involved in the development of a video game Usually.
Checkers: Setting the Board Checkers and chess use an 8 by 8 board. Each box on the board alternates colors with the box next to it. The designer may choose.
Introduction to Animation Programming Our next set of exercises will look at animation on the following link:
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
Click your mouse for next slide Dreamweaver – Merging, Coloring, Fonts Now it’s time to fill your page with some more interesting stuff The first thing.
Processing Processing is a simple programming environment that was created to make it easier to develop visually oriented applications with an emphasis.
Aim: Use the given examples to record examples and our own ideas in our journal 1.Write technical examples in journal and/or participate in full.
Adding HTML to Blackboard
Web Page Development Identify elements of a Web Page Start Notepad
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
Basic HTML All About Me - Your Name Information for display.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Introduction to Shape Programming When we make geometric shapes with computers, we have to give specific numbers to tell the computer exactly what to do.
How to Establish a Blog. What is a Blog A blog is a collection of informational articles/ideas intended to update a viewer on new information associated.
 JavaScript is a programming language that web browsers understand. You can use it to make your web pages interactive by: Responding to user actions and.
 As you complete the assignment, go in order as the earlier bulleted parts provide an easier opportunity for points than the later.  This project is.
Using Coordinate Geometry to Create Moving Images In unit 29 we created a simple drawing for the background of a children’s game. We are going to start.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Web Design Unit Assignment #2: Job Skills Favorite Links Page You will create a HTML web page with links to informational websites about a variety of job.
Click your mouse for next slide Flash – Introduction and Startup Many times on websites you will see animations of various sorts Many of these are created.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
1 Essential HTML coding By Fadi Safieddine (Week 2)
What is Museum Box? A Museum box is a way of presenting information that allows you to create a cube project that can be shared with others. You can use.
Understanding Web Sites. What is a Web Site A collection of Web pages which you can view on the Internet Contains text, graphics, sound, and video to.
Getting Started With HTML HTML code needs an editor for a programmer to be able to use. We can use Notepad on a PC or TextEdit on a Mac. However, it is.
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Sharepoint Getting started. Please log on to the Adult and Family Education website: adulted.d11.org Then go to AFE Teaching Staff and click on Valerie.
Faculty Webpage Design Minimum Requirements. Go to: then High Schoolhttp://gcsc.groupfusion.net/
How To Add Flair To Your Site Maureen Enright, Elyse Kuriata, Nathan Boes, Hodge.
Homework #4 HTML Web Assignment II ©2001 E. Kinnear.
Click your mouse for next slide Dreamweaver – Inserting and Formatting Text Inserting text is just as easy as inserting pictures If you wish to type text.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Creating Art With Simple Shapes By carefully implementing simple shapes to an HTML canvas we can create useful graphics. With enough time, lines, ellipses.
audio video object Options: controls autoplay Need to define height and width Options: controls autoplay.
Creating a Canvas Account! Follow these simple directions to access the course materials for this year.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
CIS 3.5 Lecture 2.2 More programming with "Processing"
© 2011 Delmar, Cengage Learning Chapter 10 Using ActionScript to Enhance User Experience.
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,
AGB 3/26/121 ++=. 2 Yes, believe it or not this is a complete webpage. It has a Head, Title and Body between the start and end HTML Tag.
So – You want to learn how to put an article onto the state website. (Note: If you have not done so, you will need to review the web training provided.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
Introduction to TouchDevelop Lesson 3 – Comments & Lists Created by S. Johnson
Computer Science I Animations. Bouncing ball. The if statement. Classwork/homework: bouncing something. Compress and upload work to Moodle.
Computer Science I Slingshot example. ProcessingJS example. Review for midterm quiz. Classwork/Homework: study for midterm. Work on midterm project.
Schoolwires – District 205 created by Andrew Chidester.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
TechKnowlogy Conference August 2, 2011 Using GoogleDocs for Collaboration.
Martin Norris Computing Teacher/Leader at Moldgreen Community Primary School, Huddersfield
Active Server Pages Computer Science 40S.
Web Standards Web Design – Sec 2-3
Web Standards Web Design – Sec 2-3
Your First & Last Name (Make sure you capitalize your first and last name!) Follow these instructions: 1. Center your name on the slide (use the “Centered”
Chapter 10 Algorithms.
Embedding Graphics in Web Pages
Presentation transcript:

Locally Edited Animations We will need 3 files to help get us started at

Files Explained We will need 3 files that all do important things for this project: htm is the page that the end user will load to see what we made 2. init.js is a settings file that sets up so the scripts work 3. processing.js is a file that lets us run our scripts in an easy way like we did at the Khan web site

HTML Code to Include Scripts A Processing.js Example size(600, 400); // Size should be the first statement frameRate(30); //this adjusts program's speed //put rest of program after this

 Go to the Khan Web Site and develop your Crazy Painter Program. You may work off of spinoff examples, however, you must make your own changes.  Write a paragraph about which spinoff you selected and what changes you decided to implement to your version.  Add some more examples from our previous project so that they can show up on your web site.

Review Locally Edited Animations Files Explained HTML Code to Include Scripts Script 1, 20%

Old Fashioned Browsers Some times a computer is running a browser that is not up to date with the latest and greatest abilities. For example, Google Chrome may be installed on a machine with a recent version. Internet Explorer may have an outdated version. There are two solutions to this. You can update the browser to the latest version. You can run the web page in a different browser. To run the web page in a different browser, instead of left clicking on it, right click and choose to run it in the more recent browser version.

 Even though the Khan web site uses a similar setup, there are still some important differences. On the Khan website, a student would write: var draw = function(){  Instead of writing it like that, set the line of code likes this: void draw(){

Public Transportation Try the project at the link: ation-basics/p/project-public-transportation ation-basics/p/project-public-transportation You can design a vehicle and design a background. Be sure to look at some of the examples of other student’s work in the spinoff section.

 Create your own Transportation project and add it to your 27.htm document.  Write a paragraph describing what you have done.

Review Old Fashioned Browsers Khan Website Functions Public Transportation Script 2, 20%

 By using this link below:  ing/logic-if-statements/p/challenge-bouncy- ball ing/logic-if-statements/p/challenge-bouncy- ball  a student can practice making their animations a little smarter.  The shapes should not go off the screen.  We will help this with conditional statements.

The End of the (game) World The canvas has a certain size. In the Khan cloud service, it is 400. In our local example it is 600. By putting I an if statement, we can check to see if the object is too far along to continue. Then we can change its direction. For example, if a shape was moving to the right, we could check to see if it was hitting the edge at 400. If (x > 400) {speed = -5;}

var x = 20; // position of the ball var speed = 5; // how far the ball moves every time var draw = function() { background(202, 255, 97); fill(66, 66, 66); ellipse(x, 200, 50, 50); if (x > 400) { speed = -5; } if (x < 0) { speed = 5; } x = x + speed; // move the ball };

Script 3 20% Add a script to your 27.htm so that an interesting looking game object can bounce off the walls. Write a paragraph about what you have done and include it in an aesthetically pleasing format on your 27.htm web page.

 Using Conditional Statements  The End of the (game) World  Code Example  Script 3 20%

 Check out the program at:  ing/logic-if-statements/p/more-mouse- interaction ing/logic-if-statements/p/more-mouse- interaction  This function will show us an example of how to make things happen in a program when a user gives input from the mouse. Any good program or game should respond or else it is just functioning like a video.

position = position + speed; ellipse(position, mouseY, 50, 50); if (mousePressed) { ellipse(mouseX, position, 50, 50); } if (position > 375) { speed = -5; } if (position < 25) { speed = 5;

 Some of the functions that the Khan web site uses work well on the Khan web site but not in regular browsers. On the Khan website the function mouseIsPressed works very well. When using it in a regular.htm file such as or project for 27.htm, call the function as mousePressed without the “is”.  mouseIsPressed();  mousePressesd();

Script 4, 20% Create an improved version of the program example of two balls that are changed by mouse movements on the Khan web site called “challenge-bouncy-ball”. Be sure to have different colors and shapes.challenge-bouncy-ball Use the mousePressed function to create an improved version of your Crazy Mouse program. There are two scripts and no paragraphs assigned.

 Mouse Interaction With Program  Code Example  Differing Function Names  Script 4, 20%

 Personalized Crazy Painter Program to local file.  Paragraph on how you made your Crazy painter.  Personalized Transportation project to local file.  Paragraph on how you made your Transportation Project  Personalized bouncing object added to local file.

 Paragraph on bouncing object.  Personalized improved version of bouncy ball on local file.  Personalized improved Crazy Painter program using the mousePressed() function to draw.  Aesthetics of Canvases.  Aesthetics of text.

 It says size(600, 400); in the example, but we may want to change that. Make the script the size you want it to be. The 600 can determine width so make it better to get a wider script. The 400 decides the height so make it bigger to get a taller canvas. You can even make it take up the whole screen with: size(screen.width, screen.height);

 Most of the rubric has focus on making the project have functional scripts and paragraphs. For the two parts of the rubric that focus on aesthetics, try some of the following suggestions:  Font size/color/face.  tag  Canvas sizes  Background color  Centering  Pictures  Links

 Rubric Part 1  Rubric Part 2  Borrowing Something Awesome  Aesthetics and Function