HTML5 Diagramo - Real world example OSCON, Birds of Feather, July 28, 2011.

Slides:



Advertisements
Similar presentations
XS - Platform What is XS – Manager ?
Advertisements

What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 7.
Georgia Institute of Technology Drawing in Java – part 2 Barb Ericson Georgia Institute of Technology September 2005.
Chapter 7 Creating Graphics. Chapter Objectives Use the Pen tool Reshape frames and apply stroke effects Work with polygons and compound paths Work with.
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
Creating Vectors – Part Two 2.02 Understand Digital Vector Graphics.
© 2009 Research In Motion Limited BlackBerry themes and animated graphics.
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
Graphics Output Primitives Pixel Addressing and Fill Area Dr. M. Al-Mulhem Feb. 1, 2008.
Zhang & Liang, Computer Graphics Using Java 2D and 3D (c) 2007 Pearson Education, Inc. All rights reserved. 1 Chapter 2 2D Graphics: Basics F The architecture.
GeoSVG A Web-oriented Dynamic Geometry Software. Introduction to GeoSVG GeoSVG is a Dynamic Geometry Software (DGS) to support diagramming, interactive.
Introduction to Computer Graphics
JRN 440 Adv. Online Journalism Vector file formats for print and projected Wednesday, 2/22/12.
Graphics: Creating Images Chapter 8, Exploring the Digital Domain.
SVG: The Past, Present and Future of Vector Graphics for the Web Patrick Dengler Senior Program Manager, Internet Explorer Team Member, W3C SVG Working.
Powerpoint Templates 1 GIMP GNU Image Manipulation Program © Copyright 2015, Fred McClurg All Rights Reserved Introduction to Web Programming Kirkwood.
Lecture 4 - Introduction to Computer Graphics
1 JPEG v JPEG stands for Joint Photographic Experts Group v Superior for continuous tone, photographic color images not good on sharp-edges or flat-colornot.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
Live Demo Augmented reality – lets see some pictures flying…Augmented reality – lets see some pictures flying… Facebook -Facebook -
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
SVG for Designers Tom Hoferek. Objectives Introduce SVG Illustrate its capabilities Demonstrate SVG in action Speculate, discuss, answer questions.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SVG Ellen Pearlman Eileen Mullin Programming the Web Using XML.
Vector Graphics Digital Multimedia Chap 이병희
Proj4js Coordinate transformations in the browser
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 4 Lecture 4 - Vector Graphics.
Creating Vectors – Part One 2.02 Understand Digital Vector Graphics.
Tour Title : How to create free "how to videos" and "in-app guided tours" for any web or mobile app To learn more visit
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
® ® copyright © 2013 Open Geospatial Consortium What HTML5 and REST mean to the Geo community Raj Singh, PhD Open Geospatial Consortium
Computer Graphics Lecture 08 Taqdees A. Siddiqi Computer Graphics Filled Area Primitives I Lecture 08 Taqdees A. Siddiqi
Geometry 12-5 Symmetry. Vocabulary Image – The result of moving all points of a figure according to a transformation Transformation – The rule that assigns.
Volumize3d Volumize3d Training Lesson 6 - Planner.
TNPW1 Ing. Jiří Štěpánek.  In current version (XHTML 1.0 strict)  No multimedia elements  No semantics elements  Only few input types  Only few document.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
Georgia Institute of Technology Drawing in Java – part 2 Dr Usman Saeed Assistant Professor Faculty of Computing and Information Technology North Jeddah.
Main characteristics of Vector graphics  Vector graphics provide an elegant way of constructing digital images (diagrams, technical illustration and.
CS552: Computer Graphics Lecture 16: Polygon Filling.
Welcome AOL Technical Support Call Now
Lecture 5 Basic geometric objects
SVG & DOM Manipulation via Javascript
CaRT eCapacity Initiative Ghana Productivity Apps
Math II: Unit 1: Transformations
Overview of CGM CGM is a binary vector graphics format.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Introduction to Computer Graphics
The Canvas.
2.02 Understand Digital Vector Graphics
Use Simpson's Rule with n = 10 to estimate the length of the arc of the twisted cubic {image} , from the origin to the point (3, 9, 27)
Creating Vectors – Part Two
Overview of Silverlight 2
What's New in eCognition 9
How to draw land use surveys in ArcGIS Online
Chapter 49 Java 2D.
Chapter 6: Arrays and Vectors
Creating Vectors – Part One
Unit 1 Transformations in the Coordinate Plane
Exporting GIS Features to CAD Drawings
ADUG Melbourne, 18 MARCH 2019 Tony Bryer, Greentram Software
Creating User Interfaces
Creating Vectors – Part One
Lecture 4 - Introduction to Computer Graphics
Unit 1 Transformations in the Coordinate Plane
Creating Vectors – Part Two
What's New in eCognition 9
What's New in eCognition 9
Building pattern  Complete the following tables and write the rule 
Presentation transcript:

HTML5 Diagramo - Real world example OSCON, Birds of Feather, July 28, 2011

Lack of advance geometry library to build vector like applications Whenever you draw something in is lost if you just repaint it. You need to store what you paint.

So, I started to make one out of scratch Point Polyline Polygon Line Ellipse QuadCurv e CubicCurve Figure Path Arc

Who start to use it?

The mighty Point function Point(x, y) { } var p = new Point(10,13)

Line function Line(startPoint, endPoint){.... } var p1 = new Point(10, 10); var p2 = new Point(30, 40); var l = new Line(p1, p2);

Cubic Curve function CubicCurve(startPoint, controlPoint1, controlPoint2, endPoint) {.. } var sp = new Point(10, 10); var cp1 = new Point(14, 15); var cp2 = new Point(30, 40); var ep = new Point(50, 50); var curve = new CubicCurve(sp, cp1, cp2, ep);

Figure ( one shape to rule them all ) ● Figure is more or less a container that keeps a set of primitives (points, lines, etc) ● Composite pattern used for: transformations, near and paint algorithms

Painting engine ● All figures are painted from bottom to top ● “Dirty object” pattern – repaint ONLY if changes occured.

Connectors ● Very difficult to implement ● 2 types : straight and jagged

Export to SVG ● First export to SVG ● Then convert SVG to whatever format you want ● Composite pattern used to generate the SVG

New features ● Image support → load from URL (upload might come) ● SVG support → Last browsers supports this well ● Organic connectors → rounded connectors

Download it Download it and install it on your server. You ONLY need a LAMP stack. Online accounts are suspended :( for now until new release will be available.

Thank you! Visit Follow us on