SlideShare a Scribd company logo
1 of 12
Video Synced
Interactive Web Visualisations
In a search for new ways of making teaching web resources even more engaging
we implemented a combination of JavaScript libraries (Popcorn.js, D3.js and JSmol)
to create examples of interactive web visualisations synced with video presentations.
Nikodem Miranowicz http://www.nottingham.ac.uk/~uiznm/
Task:
synchronise video with interactive data representation
Tool:
Popcorn.js library
Code...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href=“style.css" />
<script type="text/javascript“ src="JSmol.min.js"></script>
</head>
<body>
<div id="container">
<div id="video_panel">
<video id="video">
<source type="video/webm" src="video/Capture.webm" />
<source type="video/ogg" src="video/Capture.ogv" />
<source type="video/mp4" src="video/Capture.mp4" />
</video>
</div>
<div id="app_panel">
<script type="text/javascript“ src="Model_setup.js"> </script>
</div>
</div>
</body>
</html>
<script src="popcorn.js"></script>
<script src="popcorn.jsmol.js"></script>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded"
, function () {
var popcorn = Popcorn("#video");
popcorn.jsmol({
start: 2,
jsmol: 'load data/caffeine.mol'
});
popcorn.jsmol({
start: 14.50,
jsmol: 'set spinY -140;spin on'
});
popcorn.jsmol({
start: 19.0,
jsmol: 'spacefill only'
});
popcorn.jsmol({
start: 36,
jsmol: 'zap'
});
popcorn.play();
}, false);
</script>
Plugin // PLUGIN: jsmol
(function (Popcorn) {
var jumps = Array();
Popcorn.plugin("jsmol", {
manifest: {
about: {
name: "Popcorn JSmol Plugin",
version: "1.0",
author: "Nikodem Miranowicz",
},
options: {
start: {
elem: "input",
type: "text",
label: "Start"
},
jsmol: {
elem: "input",
type: "text",
label: "JSmol"
}
}
},
start: function (event, options) {
Popcorn.instances.forEach(function (video) {
if (typeof(options.jsmol)!='undefined') {
Jmol.script(jmolApplet0,options.jsmol)
}
});
}
});
})(Popcorn);
1. JSmol
Molecular structure representations
2. D3.js
Data Driven Documents
09/04/2014 8
3. D3.js
Choropleths
4. Video
Structural Interactivity
Popcornjs.org
Video Synced
Interactive Web Visualisations
Nikodem Miranowicz
http://www.nottingham.ac.uk/~uiznm/

More Related Content

What's hot

Introduction à AngularJS
Introduction à AngularJSIntroduction à AngularJS
Introduction à AngularJSNicolas PENNEC
 
HTML / CSS / JS Web basics
HTML / CSS / JS Web basicsHTML / CSS / JS Web basics
HTML / CSS / JS Web basicsbtopro
 
BaliJS Meetup #2 - Basic Meteor JS
BaliJS Meetup #2 - Basic Meteor JSBaliJS Meetup #2 - Basic Meteor JS
BaliJS Meetup #2 - Basic Meteor JSKadek Sudiartha
 
Meta Programming with JavaScript
Meta Programming with JavaScriptMeta Programming with JavaScript
Meta Programming with JavaScriptjeresig
 
Css sprite_maker-1
Css  sprite_maker-1Css  sprite_maker-1
Css sprite_maker-1lokku
 
Mobile app with sencha touch
Mobile app with sencha touchMobile app with sencha touch
Mobile app with sencha touchfch415
 
Artdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script EffectsArtdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script EffectsGilbert Guerrero
 
W3C Widgets: Apps made with Web Standards
W3C Widgets: Apps made with Web StandardsW3C Widgets: Apps made with Web Standards
W3C Widgets: Apps made with Web Standardsbrucelawson
 
The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13Matthias Lau
 

What's hot (14)

Introduction à AngularJS
Introduction à AngularJSIntroduction à AngularJS
Introduction à AngularJS
 
HTML / CSS / JS Web basics
HTML / CSS / JS Web basicsHTML / CSS / JS Web basics
HTML / CSS / JS Web basics
 
Banquet 50
Banquet 50Banquet 50
Banquet 50
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 
BaliJS Meetup #2 - Basic Meteor JS
BaliJS Meetup #2 - Basic Meteor JSBaliJS Meetup #2 - Basic Meteor JS
BaliJS Meetup #2 - Basic Meteor JS
 
Meta Programming with JavaScript
Meta Programming with JavaScriptMeta Programming with JavaScript
Meta Programming with JavaScript
 
Banquet 42
Banquet 42Banquet 42
Banquet 42
 
Css sprite_maker-1
Css  sprite_maker-1Css  sprite_maker-1
Css sprite_maker-1
 
3d web
3d web3d web
3d web
 
Mobile app with sencha touch
Mobile app with sencha touchMobile app with sencha touch
Mobile app with sencha touch
 
Artdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script EffectsArtdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script Effects
 
W3C Widgets: Apps made with Web Standards
W3C Widgets: Apps made with Web StandardsW3C Widgets: Apps made with Web Standards
W3C Widgets: Apps made with Web Standards
 
The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13
 
Cookies
CookiesCookies
Cookies
 

Viewers also liked

EMLT Meeting - Spring 2014
EMLT Meeting - Spring 2014EMLT Meeting - Spring 2014
EMLT Meeting - Spring 2014EastMidsLT
 
Creating a great learning video
Creating a great learning video Creating a great learning video
Creating a great learning video EastMidsLT
 
Multiple perspectives through video
Multiple perspectives through videoMultiple perspectives through video
Multiple perspectives through videohannah_davies_uod
 
East Midlands Learning Technologists' Group Meeting
East Midlands Learning Technologists' Group MeetingEast Midlands Learning Technologists' Group Meeting
East Midlands Learning Technologists' Group MeetingSarah Horrigan-Fullard
 
Engaging our Fashion Programme Through Video
Engaging our Fashion Programme Through VideoEngaging our Fashion Programme Through Video
Engaging our Fashion Programme Through VideoRob Higson
 
Putting lipstick on a pig
Putting lipstick on a pigPutting lipstick on a pig
Putting lipstick on a pigEastMidsLT
 
Learning Space Design - Digital innovation and creativity
Learning Space Design - Digital innovation and creativityLearning Space Design - Digital innovation and creativity
Learning Space Design - Digital innovation and creativityEastMidsLT
 
Taming the Waves: Understanding digital practice at scale, ALT-C 2014
Taming the Waves: Understanding digital practice at scale, ALT-C 2014Taming the Waves: Understanding digital practice at scale, ALT-C 2014
Taming the Waves: Understanding digital practice at scale, ALT-C 2014Sarah Horrigan-Fullard
 

Viewers also liked (9)

EMLT Meeting - Spring 2014
EMLT Meeting - Spring 2014EMLT Meeting - Spring 2014
EMLT Meeting - Spring 2014
 
Creating a great learning video
Creating a great learning video Creating a great learning video
Creating a great learning video
 
Multiple perspectives through video
Multiple perspectives through videoMultiple perspectives through video
Multiple perspectives through video
 
East Midlands Learning Technologists' Group Meeting
East Midlands Learning Technologists' Group MeetingEast Midlands Learning Technologists' Group Meeting
East Midlands Learning Technologists' Group Meeting
 
Engaging our Fashion Programme Through Video
Engaging our Fashion Programme Through VideoEngaging our Fashion Programme Through Video
Engaging our Fashion Programme Through Video
 
Putting lipstick on a pig
Putting lipstick on a pigPutting lipstick on a pig
Putting lipstick on a pig
 
Learning Space Design - Digital innovation and creativity
Learning Space Design - Digital innovation and creativityLearning Space Design - Digital innovation and creativity
Learning Space Design - Digital innovation and creativity
 
Emlt april 2015 dl
Emlt april 2015   dlEmlt april 2015   dl
Emlt april 2015 dl
 
Taming the Waves: Understanding digital practice at scale, ALT-C 2014
Taming the Waves: Understanding digital practice at scale, ALT-C 2014Taming the Waves: Understanding digital practice at scale, ALT-C 2014
Taming the Waves: Understanding digital practice at scale, ALT-C 2014
 

Similar to Video synced interactive web visualisations

Document Object Model
Document Object ModelDocument Object Model
Document Object ModelMayur Mudgal
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaRobert Nyman
 
StoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep DiveStoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep Divestorycode
 
Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX DesignersAshlimarie
 
How to Webpack your Django!
How to Webpack your Django!How to Webpack your Django!
How to Webpack your Django!David Gibbons
 
Brave new world of HTML5
Brave new world of HTML5Brave new world of HTML5
Brave new world of HTML5Chris Mills
 
webinale2011_Chris Mills_Brave new world of HTML5Html5
webinale2011_Chris Mills_Brave new world of HTML5Html5webinale2011_Chris Mills_Brave new world of HTML5Html5
webinale2011_Chris Mills_Brave new world of HTML5Html5smueller_sandsmedia
 
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoentsRan Wahle
 
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit MavenBuilding Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit MavenOliver Ochs
 
Polymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest FloridaPolymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest FloridaJohn Riviello
 
Speak The Web: The HTML5 Experiments
Speak The Web: The HTML5 ExperimentsSpeak The Web: The HTML5 Experiments
Speak The Web: The HTML5 Experimentsguestd427df
 
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...Patrick Lauke
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutionswoutervugt
 
intro to Angular js
intro to Angular jsintro to Angular js
intro to Angular jsBrian Atkins
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....Patrick Lauke
 
HTML5 and friends - standards>next Manchester 24.11.2010
HTML5 and friends - standards>next Manchester 24.11.2010HTML5 and friends - standards>next Manchester 24.11.2010
HTML5 and friends - standards>next Manchester 24.11.2010Patrick Lauke
 

Similar to Video synced interactive web visualisations (20)

Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
 
Web Apps
Web AppsWeb Apps
Web Apps
 
StoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep DiveStoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep Dive
 
Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
Presentation Tier optimizations
Presentation Tier optimizationsPresentation Tier optimizations
Presentation Tier optimizations
 
How to Webpack your Django!
How to Webpack your Django!How to Webpack your Django!
How to Webpack your Django!
 
Brave new world of HTML5
Brave new world of HTML5Brave new world of HTML5
Brave new world of HTML5
 
webinale2011_Chris Mills_Brave new world of HTML5Html5
webinale2011_Chris Mills_Brave new world of HTML5Html5webinale2011_Chris Mills_Brave new world of HTML5Html5
webinale2011_Chris Mills_Brave new world of HTML5Html5
 
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoents
 
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit MavenBuilding Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
 
Polymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest FloridaPolymer-Powered Design Systems - DevFest Florida
Polymer-Powered Design Systems - DevFest Florida
 
Speak The Web: The HTML5 Experiments
Speak The Web: The HTML5 ExperimentsSpeak The Web: The HTML5 Experiments
Speak The Web: The HTML5 Experiments
 
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...
HTML5 APIs - native multimedia support and beyond - University of Leeds 05.05...
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutions
 
intro to Angular js
intro to Angular jsintro to Angular js
intro to Angular js
 
handout-05b
handout-05bhandout-05b
handout-05b
 
handout-05b
handout-05bhandout-05b
handout-05b
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
 
HTML5 and friends - standards>next Manchester 24.11.2010
HTML5 and friends - standards>next Manchester 24.11.2010HTML5 and friends - standards>next Manchester 24.11.2010
HTML5 and friends - standards>next Manchester 24.11.2010
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Video synced interactive web visualisations

  • 1. Video Synced Interactive Web Visualisations In a search for new ways of making teaching web resources even more engaging we implemented a combination of JavaScript libraries (Popcorn.js, D3.js and JSmol) to create examples of interactive web visualisations synced with video presentations. Nikodem Miranowicz http://www.nottingham.ac.uk/~uiznm/
  • 2. Task: synchronise video with interactive data representation
  • 4. Code... <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href=“style.css" /> <script type="text/javascript“ src="JSmol.min.js"></script> </head> <body> <div id="container"> <div id="video_panel"> <video id="video"> <source type="video/webm" src="video/Capture.webm" /> <source type="video/ogg" src="video/Capture.ogv" /> <source type="video/mp4" src="video/Capture.mp4" /> </video> </div> <div id="app_panel"> <script type="text/javascript“ src="Model_setup.js"> </script> </div> </div> </body> </html> <script src="popcorn.js"></script> <script src="popcorn.jsmol.js"></script> <script type="text/javascript"> document.addEventListener("DOMContentLoaded" , function () { var popcorn = Popcorn("#video"); popcorn.jsmol({ start: 2, jsmol: 'load data/caffeine.mol' }); popcorn.jsmol({ start: 14.50, jsmol: 'set spinY -140;spin on' }); popcorn.jsmol({ start: 19.0, jsmol: 'spacefill only' }); popcorn.jsmol({ start: 36, jsmol: 'zap' }); popcorn.play(); }, false); </script>
  • 5. Plugin // PLUGIN: jsmol (function (Popcorn) { var jumps = Array(); Popcorn.plugin("jsmol", { manifest: { about: { name: "Popcorn JSmol Plugin", version: "1.0", author: "Nikodem Miranowicz", }, options: { start: { elem: "input", type: "text", label: "Start" }, jsmol: { elem: "input", type: "text", label: "JSmol" } } }, start: function (event, options) { Popcorn.instances.forEach(function (video) { if (typeof(options.jsmol)!='undefined') { Jmol.script(jmolApplet0,options.jsmol) } }); } }); })(Popcorn);
  • 12. Video Synced Interactive Web Visualisations Nikodem Miranowicz http://www.nottingham.ac.uk/~uiznm/