A JAVASCRIP BOUNCING BALL ANIMATION - NIFTY ASSIGNMENT Jamil Saquer Computer Science Department Missouri State University Springfield, MO.

Slides:



Advertisements
Similar presentations
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
Advertisements

GAME:IT Junior Ping Pong Objectives: Review skills from previous lessons Create a 2-player game Create a scoring display system Using old and new skills,
A Data Mining Course for Computer Science and non Computer Science Students Jamil Saquer Computer Science Department Missouri State University Springfield,
Treasure Hunt By: Eric de Boer & Olaf van Zon. Introduction Assignment: use VRML and DLP VRML = 3D but not very fast DLP= Logic language, not fast either.
Scratch is a Visual Programming Language
Microsoft® Small Basic
İstop (stop) is a popular game a mong children in Turkey. It is very easy to play and much more enjoyable if it is played with many children.
Georgia Department of Education. Information Technology Pathways.
CIS101 Introduction to Computing Week 12. Agenda Your questions Solutions to practice text Final HTML/JavaScript Project Copy and paste assignment JavaScript:
SWE 444: Internet & Web Application Development0.1 SWE 444 Internet and Web Application Development Dr. Abdallah Al-Sukairi and Dr. Sahalu Junaidu
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
3.02 Explain basic motion graphic programming. Animation Types.
3.02 Explain basic motion graphic programming. Animation Types.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Web engineering. Topic: DHTML Presented by: Shah Rukh Presented to: Sir Ahsan raza.
CS 638 Web Programming Introducing the web Lecture 1.
CSS 404 Internet Concepts. XP Objectives Developing a Web page and a Website Working with CSS (Cascading Style Sheets) Web Tables Web Forms Multimedia.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Welcome To CIS115 Introduction to Programming & Logic.
1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed.
JavaScript, Fourth Edition
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Dreamweaver 8 Introduction What you can do with Dreamweaver 8 What's new in Dreamweaver 8.
 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.
Benefits of Digital Literacy Tracy Thibodeau ED 3211 – Introduction to Art Education.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Unit2: Flex Basics Mike Chantler, 20/8/2008 3D Modelling & Animation Module F21MAF21MA.
SCRATCH. Course Outline Session 1 – 8.45am to am  Introduction  Basics of Scratch programming - Control / Movement / Looks and Sound  Example.
CAP4730: Computational Structures in Computer Graphics Course Introduction.
IS2802 Introduction to Multimedia Applications for Business Lecture 1: Introduction to IS2802 Rob Gleasure
1 Final Review. 2 Final Exam  30% of your grade for the course  December 9 at 7:00 p.m., the regular class time  No makeup exam or alternate times.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
Development of Internet Applications General Information.
Title: By:. Experimental Design Problem- What is the effect of ___________ on the ____________________________? IV: Levels of the IV [Put your Control.
Syllabus Management System Matt Bernstein, Paul Capelli, Jared Segal.
Search: Prof. Jeff Sonstein Home Contact Website Design & Tech ( ) Fall 2011  Professor Jeff Sonstein Office: GOL-2555 Hours: T/R 10am-noon
University of South Asia Course Name: Web Application Prepared By: Md Rezaul Huda Reza
Host Objects: Browsers and the DOM
Computer Science Department Web Portal - support for educational process M.Stanković, Ivan Petković Faculty of Electronic Engineering, University of Niš.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
JavaScript & Introduction to AJAX
Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Classes at WHS Register for No previous programming experience is necessary! Only a desire to learn to code!
Chapter 10 Dynamic HTML (DHTML) JavaScript, Third Edition.
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
GAME:IT Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple.
Web Application Development 1 Course Introduction.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 5 Host Objects: Browsers.
Team Work and Personal Skills Course Introduction Angel Georgiev Part-time Trainer Software University
بسم الله الرحمن الرحيم Information’s New Technologies (Internet Technologies) Ahmed Abdelmageed, MSc Department of Computer Science, University of Khartoum.
CX Introduction to Web Programming Introduction & Overview Prepared by: KAR First Prepared on: Last Modified on: xx-xx-xx Quality checked.
Simplifying Dynamic Programming Jamil Saquer & Lloyd Smith Computer Science Department Missouri State University Springfield, MO USA.
Exploring Computer Science Lesson 4-14
Web Development Training
Foundations of Visualization 8/30/05 Lecture Notes
UI Developer Overview  SV Trainings UI Developer Training is online course developed by industry experts to understand the concepts of HTML5, CSS3, Bootstrap,
Ch Wave Interactions OBJECTIVES
The One Where You Scratch
Exploring Computer Science Lesson 4-14
A CASE STUDY INTRODUCING DYNAMIC PROGRAMMING IN CS2
Jamil Saquer and Razib Iqbal Computer Science Department
COP 3813 Intro to Internet Computing
Unit 6 part 3 Test Javascript Test.
WPS - your story so far Seems incredible complicated, already
Exploring Computer Science Lesson 4-14
Science is fun. Science is fun. Science is fun. Science is fun. Science is fun. Science is fun. Science is fun. Science is fun. Science is fun. Science.
Presentation transcript:

A JAVASCRIP BOUNCING BALL ANIMATION - NIFTY ASSIGNMENT Jamil Saquer Computer Science Department Missouri State University Springfield, MO

2 Outline  Introduction  Assignment description  Solution  Possible modifications  Questions

3 Introduction  Assignment given in a Web programming course  Course goal: introduce students to different languages for Web programming  Course prerequisite: being able to program  Topics covered in the course: XHTML, CSS, XML, PHP, JavaScript (including DOM and DHTML)

Assignment Goals  To be fun and enjoyable  Have students practice working with different topics covered in the course Assignment requires using XHTML, CSS, JavaScript and DHTML Assignment requires using XHTML, CSS, JavaScript and DHTML 4

ASSIGNMENT DESCRIPTION  Write an XHTML document that uses JavaScript to animate a bouncing ball  When ball hits an edge, it bounces Angle of reflection = angle of incidence Angle of reflection = angle of incidence  Document has two buttons to stop and start/resume animation  May use a textfield to try different speeds  Use an image for the ball 5

Solution  See code See code See code 6

Possible Modifications  Assignment is easy to modify A vertically bouncing ball A vertically bouncing ball Considering the effect of air resistance Considering the effect of air resistance Simulating an indoor one person racquetball or paddleball game Simulating an indoor one person racquetball or paddleball game A ping pong game that is played against the computer A ping pong game that is played against the computer 7

8 Questions