{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/43928"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/43928","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"Development of a web-based distributed interactive simulation (DIS) environment using javascript","abstract":"This thesis investigated the current infrastructure for web-based simulations using the DIS network protocol. The main technologies studied were WebSockets, WebRTC and WebGL. This thesis sought readily available means to establish networks for interchanging DIS message (PDUs), so the WebSocket gateway server from Open-DIS project was used to construct a Client-Server structure and PeerJS API was used to construct a peer-to-peer structure. WebGL was used to create a scene and render 3D models in browsers. A first-person-shooter tank game was used as a test application with both WebSocket and WebRTC infrastructures. Experiments in this thesis included measuring the rate of sending and receiving DIS packets and analysis of the tank game by profiling tools. All the experiments were run on Chrome and Firefox browsers in a closed network. The experimental results showed that both WebSocket and WebRTC infrastructures were competent enough to support web-based DIS simulation. The results also found the significant differences of performance between Chrome and Firefox. Currently, the best performance is provided by the combination of Firefox using the WebRTC framework. The analysis of the tank game showed that most of the browser’s computational resources were spent on the WebGL graphics, with only a small percentage of the resources expended on exchanging DIS packets.","abstract_html":"This thesis investigated the current infrastructure for web-based simulations using the DIS network protocol. The main technologies studied were WebSockets, WebRTC and WebGL. This thesis sought readily available means to establish networks for interchanging DIS message (PDUs), so the WebSocket gateway server from Open-DIS project was used to construct a Client-Server structure and PeerJS API was used to construct a peer-to-peer structure. WebGL was used to create a scene and render 3D models in browsers. A first-person-shooter tank game was used as a test application with both WebSocket and WebRTC infrastructures. Experiments in this thesis included measuring the rate of sending and receiving DIS packets and analysis of the tank game by profiling tools. All the experiments were run on Chrome and Firefox browsers in a closed network. The experimental results showed that both WebSocket and WebRTC infrastructures were competent enough to support web-based DIS simulation. The results also found the significant differences of performance between Chrome and Firefox. Currently, the best performance is provided by the combination of Firefox using the WebRTC framework. The analysis of the tank game showed that most of the browser’s computational resources were spent on the WebGL graphics, with only a small percentage of the resources expended on exchanging DIS packets.","abstract_has_math":false,"creators":["Hsiao, Chen-Fu"],"institution":"Monterey, California: Naval Postgraduate School","degree_name":"Master of Science in Modeling, Virtual Environments, and Simulation","degree_level":"Masters","degree_discipline":"Modeling, Virtual Environments, and Simulation Institute (MOVES)","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Darken, Christian J.","McGregor, Donald"],"committee_chairs":[],"committee_members":[],"year":2014,"date_issued":"2014-09","date_published":"2014-09","updated_at":"2026-11-19T06:35:21Z","subjects":[],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/43928","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/43928","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F43928","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F43928","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Darken, Christian J.","McGregor, Donald"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Hsiao, Chen-Fu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["Sep-14"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2014-12-05T20:10:22Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2014-12-05T20:10:22Z"]},{"key":"dc:date.issued","label":"Date","values":["2014-09"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, California: Naval Postgraduate School"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Modeling, Virtual Environments, and Simulation Institute (MOVES)"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Modeling, Virtual Environments, and Simulation"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Distributed interactive simulation (DIS)","WebSocket","WebRTC","WebGL","client-server","peer-to-peer","web-based simulation"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/43928"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis investigated the current infrastructure for web-based simulations using the DIS network protocol. The main technologies studied were WebSockets, WebRTC and WebGL. This thesis sought readily available means to establish networks for interchanging DIS message (PDUs), so the WebSocket gateway server from Open-DIS project was used to construct a Client-Server structure and PeerJS API was used to construct a peer-to-peer structure. WebGL was used to create a scene and render 3D models in browsers. A first-person-shooter tank game was used as a test application with both WebSocket and WebRTC infrastructures. Experiments in this thesis included measuring the rate of sending and receiving DIS packets and analysis of the tank game by profiling tools. All the experiments were run on Chrome and Firefox browsers in a closed network. The experimental results showed that both WebSocket and WebRTC infrastructures were competent enough to support web-based DIS simulation. The results also found the significant differences of performance between Chrome and Firefox. Currently, the best performance is provided by the combination of Firefox using the WebRTC framework. The analysis of the tank game showed that most of the browser’s computational resources were spent on the WebGL graphics, with only a small percentage of the resources expended on exchanging DIS packets."]},{"key":"dc:description.uri","label":"Dc Description URI","values":["http://archive.org/details/developmentofweb1094543928"]},{"key":"dc:title","label":"Title","values":["Development of a web-based distributed interactive simulation (DIS) environment using javascript"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Captain, Republic of China (Taiwan) Air Force"]}]}],"canonical_facts":{"dc:contributor.advisor":["Darken, Christian J.","McGregor, Donald"],"dc:contributor.department":["Computer Science"],"dc:creator":["Hsiao, Chen-Fu"],"dc:date":["Sep-14"],"dc:date.accessioned":["2014-12-05T20:10:22Z"],"dc:date.available":["2014-12-05T20:10:22Z"],"dc:date.issued":["2014-09"],"dc:description.abstract":["This thesis investigated the current infrastructure for web-based simulations using the DIS network protocol. The main technologies studied were WebSockets, WebRTC and WebGL. This thesis sought readily available means to establish networks for interchanging DIS message (PDUs), so the WebSocket gateway server from Open-DIS project was used to construct a Client-Server structure and PeerJS API was used to construct a peer-to-peer structure. WebGL was used to create a scene and render 3D models in browsers. A first-person-shooter tank game was used as a test application with both WebSocket and WebRTC infrastructures. Experiments in this thesis included measuring the rate of sending and receiving DIS packets and analysis of the tank game by profiling tools. All the experiments were run on Chrome and Firefox browsers in a closed network. The experimental results showed that both WebSocket and WebRTC infrastructures were competent enough to support web-based DIS simulation. The results also found the significant differences of performance between Chrome and Firefox. Currently, the best performance is provided by the combination of Firefox using the WebRTC framework. The analysis of the tank game showed that most of the browser’s computational resources were spent on the WebGL graphics, with only a small percentage of the resources expended on exchanging DIS packets."],"dc:description.uri":["http://archive.org/details/developmentofweb1094543928"],"dc:identifier.uri":["https://hdl.handle.net/10945/43928"],"dc:publisher":["Monterey, California: Naval Postgraduate School"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"dc:subject.keyword":["Distributed interactive simulation (DIS)","WebSocket","WebRTC","WebGL","client-server","peer-to-peer","web-based simulation"],"dc:title":["Development of a web-based distributed interactive simulation (DIS) environment using javascript"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Captain, Republic of China (Taiwan) Air Force"],"thesis:degree_discipline":["Modeling, Virtual Environments, and Simulation Institute (MOVES)"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Modeling, Virtual Environments, and Simulation"],"thesis:institution_name":["Naval Postgraduate School"]},"updated_at":"2026-11-19T06:35:21Z"}