Fourier Series GUI Implementation.

Slides:



Advertisements
Similar presentations
MWD1001 Website Production Using JavaScript with Forms.
Advertisements

0 CS 160: Design Process: Implement Event-based UI Programming, Model-View-Controller, and the Web Jeffrey Nichols IBM Almaden Research Center
Development of mobile applications using PhoneGap and HTML 5
Section 8.1 Completing the Square. Factoring Before today the only way we had for solving quadratics was to factor. x 2 - 2x - 15 = 0 (x + 3)(x - 5) =
Definition from Wikipedia.  The Prototype JavaScript Framework  implemented as a single file of JavaScript code  named prototype.js (
© 2010 UEI, Inc. All Rights Reserved UEIPAC HMI.
Web Form Fundamentals MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
JQuery CS 268. What is jQuery? From their web site:
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
JQuery 10/21. Today jQuery Some cool tools around the web JavaScript Libraries Drawing libraries HTML Frameworks Conventions.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Lesson 19. JavaScript errors Since JavaScript is an interpreted language, syntax errors will usually cause the script to fail. Both browsers will provide.
By: Toms Linnes Mrunal Patel.  Universal  With qooxdoo you build rich, interactive applications, native-like apps for mobile devices light weight single.
Introduction to Matlab & Data Analysis
© 2012, Mike Murach & Associates, Inc.
Jquery Nasrullah. Jquery jQuery is a JavaScript Library. jQuery greatly simplifies JavaScript programming. jQuery is easy to learn.
INTRODUCTION TO HTML5 Using jQuery with HTML5. Introducing jQuery  Although it is not a part of any W3C or WHATWG specification, jQuery performs an important.
Transparency 5 Click the mouse button or press the Space Bar to display the answers.
HTML Form Widgets. Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back.
Chapter 22 The Smooth Motion: Case Study in Algorithmic Solving.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Learning Objectives State and apply the Decomposition Principle
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
Developing Applications with the CSI Framework A General Guide.
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,
CS112 Scientific Computation Department of Computer Science Wellesley College Blind to change More on GUIs.
Understanding JavaScript and Coding Essentials Lesson 8.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
SIN DRILL & Z-DRILL Bhaskar Khaneja Lekha Surasani.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Final Project for Phys 642: An Introduction to Quantum Information and Quantum Computing Fall 2013 Implementing a Computer Simulation of Shor’s Quantum.
What is jQuery?.
Java FX: Scene Builder.
2D Simulation of Rigid Bodies
Android – Event Handling
System Design Ashima Wadhwa.
User Guide PrimePortal – File Archive
Improving Scilab’s Xcos User Interface
MVC and other n-tier Architectures
Web software.
1. Introduction to Visual Basic
JavaScript Functions.
Scaling of Eclipse on High Density Displays
The Cliff Notes Version
Chap 7. Building Java Graphical User Interfaces
Chapter 16 – Programming your App’s Memory
Chapter 2: GUI API Chapter 2.
Model-View-Controller Design Pattern
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
Creating a Workbook Part 2
Tkinter GUIs Computer Science and Software Engineering
Continuous - Discrete Sampling Demo (CON2DIS) team
JavaScript Introduction
Discrete Convolution Demo
Tutorial 12 – Security Panel Application Introducing the Select Case Multiple-Selection Statement Outline Test-Driving the Security Panel Application.
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
User Guide PrimePortal – File Archive
Professor John Canny Spring 2004 March 5
Code Topic 9 Standard JavaScript Events Laura Friedman
The Smooth Motion: Case Study in Algorithmic Solving
11.1 Applets & graphics.
ONLINE GRADEBOOK FOR EDUCATORS
Professor John Canny Spring 2003 March 12
F T T T F.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Intelligent Tutoring Systems
Presentation transcript:

Fourier Series GUI Implementation

Goals Create hands-on demo that will deepen student’s understanding of Fourier Series Ensure maximum browser compatibility by using jQuery for event handling Show complex coefficients, and how they change

Project Detail Three graphs show the function and the magnitude and phase of the coefficients. Supports different levels of learning: combining coefficient pairs toggling pairs on/off changing number of pairs

Equations rightmost panel Shows formulas to get complex coefficients changes with each function

UI Controls HTML sliders checkboxes values displayed on mouseover coefficients can be toggled on/off with mouse click.

JSXGraph Implementation mouse events added through JSXGraph’s API JSX benefits: event handling is simplified easy to create as complex as you want it to be

Complex Number Representation Complex.js provides base implementation Coefficient computation is done separately for each wavefunction The active (in-use) coefficients are stored in the fourierSeries global variable Coefficient manipulation is done in one class, using above variable to get the current coefficients.

Code Layout All functions in global variable fourierDisp each graph has an update function each fourier series has functions to compute values with n number of coefficients event handlers are added after the page is loaded

Tools jQuery JSXgraph Complex.js MathJax Git Linux development environment

Results & Lessons Learned Overall, project accomplished main goals Lessons: debugging keeping in sync test every step of the way

Future work 3d representation of combination of coefficient waves animation Walkthrough of GUI, show users how to use the controls

Questions?