Download presentation
Presentation is loading. Please wait.
Published byGordon Barber Modified over 9 years ago
1
An Overview of the AgentCubes Web API Scott Keller Erin Rowland Stuart Reed Michael Wally George McCabe dy· na· mo: (n.) A generator 1Erin Rowland
2
What We Will Cover Sponsor Background ◦ AgentSheets: Demo of AgentCubes ◦ Google: O3D Demo The Problem The Solution Conceptual Diagram Requirements User Interface and Architecture Summary 2Erin Rowland
3
AgentSheets, Inc. Dr. Alexander Repenning CTO of AgentSheets, Inc. Professor of Computer Science at CU Boulder Balancing Educational and Motivational concerns Exposing Computer Science to Middle School Students 3 Erin Rowland
4
Generate simulations Create games Conceptual Aid for teaching AgentSheets, Inc. 4Erin Rowland
5
Scott Lininger: Designer, Programmer, and Writer Representative from Google SketchUp and O3D and O3D 5Erin Rowland
6
O3D Open-Source JavaScript API Generates Interactive 3D Graphics Applications Runs in a Browser Window beachdemo.html and O3D Erin Rowland 6
7
Topics Discussed Sponsors: ◦ AgentSheets ◦ Google Problem Solution Conceptual Diagram Requirements User Interface and Architecture Summary 7George McCabe
8
Problem: Expand AgentCubes Accessibility Portability (Multi-Platform) Usability Accessibility 8George McCabe
9
Problem: (cont’d) AgentSheets (2D) Requires User to Download and Install the Software AgentCubes (3D) Not Publicly Available ◦ Current Version in Development (Mac OS X) 9George McCabe
10
Solution: Render 3D in a Web Browser API of JavaScript Calls Implement WEUP Behavior and Agents Graphics in O3D WebGL (In Development) an Option Interact with WEUP and the “Dark Tunnel” Compiler Allows Users to Access Worksheet From any Computer With Internet Access 10George McCabe
11
Solution: (cont’d) Other Components ◦ Web End-User Programming ◦ GUI Allows Users to Create Agents and Define Their Behavior ◦ Creates XML files to Store Agents, Behaviors, and the Scene 11George McCabe
12
Solution: (cont’d) Other Components WebDynamo is an O3D Version of the AgentCubes Worksheet ◦ Tools Allow Interaction With the Scene Draw and Manipulate Object Instances Pan and Zoom Camera 12George McCabe
13
Solution: (cont’d) Other Components “Dark Tunnel” Compiler University of Lugano in Switzerland Generates JavaScript Calls API Functions Defined by WebDynamo 13George McCabe
14
Topics Discussed Sponsors: ◦ AgentSheets ◦ Google Problem Solution Conceptual Diagram Requirements User Interface and Architecture Summary 14Scott Keller
15
WebDynamo Conceptual Diagram XML Definitions API GUIGUI GUIGUI O3D VAT XML Rules Compiler University of Lugano Compiler University of Lugano WEUP GUI OPEN JavaScript Web Dynamo 15Scott Keller
16
Compiler, University of Lugano Calls WebDynamo JavaScript API Parses XML Behavior files Compiler University of Lugano Compiler University of Lugano 16Scott Keller
17
WEUP GUI Write XML File Attributes for Project Communicate With WebDynamo Input WEUP GUI 17Scott Keller
18
WebDynamo API and GUI written in JavaScript API Methods Designed to Handle External Commands GUI Rendered Using Google’s O3D to Imitate AgentCubes. API GUIGUI GUIGUI O3D Web Dynamo 18Scott Keller
19
Topics Discussed Sponsors: ◦ AgentSheets ◦ Google Problem Solution Conceptual Diagram Requirements User Interface and Architecture Summary 19Michael Wally
20
Environmental Requirements Software / Development Environment ◦ Supported Browsers: Chrome, Firefox 3, Safari 4, IE 8 ◦ Supported Operating Systems: Windows XP, Mac OS X, Linux ◦ Implement API in JavaScript and O3D 20Michael Wally
21
Environmental Requirements Hardware Environment ◦ Windows: x86 CPU, DX9-compatible GPU with VS 2.0 and PS 2.0 support ◦ Mac: Any Intel Mac (Unsupported GPUs Will Use SW rederer) 21Michael Wally
22
Functional Requirements Read/Write XML ◦ Keep Track of Object Attributes API functions ◦ Condition and Action Events O3D Scene Rendering Worksheet GUI ◦ Manipulate Agents ◦ Save and Load Simulations 22Michael Wally
23
Topics Discussed Sponsors: ◦ AgentSheets ◦ Google Problem Solution Conceptual Diagram Requirements User Interface and Architecture Summary 23Stuart Reed
24
WebDynamo GUI O3D Worksheet 24Stuart Reed
25
AgentCubes Worksheet Tools JavaScript Handlers for Keyboard and Mouse Input Calls Method for Active Tool WebDynamo GUI Toolbar 25Stuart Reed
26
WebDynamo GUI Toolbar 26Stuart Reed Simulation Runtime Controls Agent Controls
27
WebDynamo GUI Toolbar 27Stuart Reed Worksheet Controls Camera Controls
28
Architecture Simulation Functions Editing and Camera Tools Controller View (Worksheet) Model User Input WebDynamo JavaScript Functions Parse and Return XML Data O3D JS Object State Calls JS API Functions WEUP Stores XML Object Attributes 28Stuart Reed
29
Architecture Simulation Functions Editing and Camera Tools Controller WebDynamo JavaScript Functions Parse and Return XML Data Calls JS API Functions WEUP Stores XML Object Attributes Controller ◦ WebDynamo JavaScript Handlers Editing and Camera Tools Simulation Functions (Stop, Run, Step) ◦ Parse and Return XML Data WEUP and API Method Calls 29Stuart Reed
30
Architecture Controller Model Object State Model ◦ Maintain Agent Attributes Textures, Shapes, Positioning 30Stuart Reed
31
Architecture Controller View (Worksheet) User Input O3D JS View ◦ WebDynamo Worksheet Input (Toolbar and Scene) Output (O3D JavaScript) 31Stuart Reed
32
Summary Sponsors: ◦ AgentSheets ◦ Google Problem Solution Conceptual Diagram Requirements User Interface and Architecture Questions? 32Erin Rowland
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.