Font Size: a A A

Research On WebGL Framework For Virtual Experiments

Posted on:2020-06-06Degree:MasterType:Thesis
Country:ChinaCandidate:P F WangFull Text:PDF
GTID:2428330572472331Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the popularity of Web applications and the development of WebGL technology,it is possible to develop high-performance virtual experiment on Web browsers.However,the application scenarios of different disciplines have different requirements for virtual experiment,and the complexity of WebGL technology is high,which leads to the problems of low efficiency and long cycle of application development.Therefore,the design and implementation of a WebGL development framework for virtual experiment has important research significance and application value.Firstly,this paper studies the functional characteristics of virtual experiment,and makes a requirement analysis of WebGL development framework for virtual experiment from two aspects of functionality and non-functionality,and defines the design goal of the framework.Then it introduces the theoretical basis of WebGL technology,compares and analyses the common WebGL development frameworks,points out the shortcomings of existing frameworks,and puts forward the technical scheme of component packaging based on Three.js framework.Then the application of virtual experiment is stratified by MVVM mode,and the separation of data,events and business logic is realized by event-driven model.The overall architecture of development framework based on component integration is formed.The basic components and functional modules for virtual experiment development are designed and implemented in detail.Finally,different types of virtual experiment application examples are developed on the basis of the completed framework functions,and functional and non-functional tests are carried out.The results show that the virtual experiment developed by the framework runs smoothly on the browser and can well meet the needs of users.This paper designs and implements a WebGL development framework for virtual experiment.The framework is simple and easy to use.It can effectively support the development of virtual experiment,reduce the development threshold,and improve the development efficiency.It enables Web and VR developers to use JavaScript language to write experiment functions in browsers without paying attention to the underlying code logic,so as to develop high-quality virtual experiment more efficiently.
Keywords/Search Tags:Virtual Experiment, WebGL, Development Framework, Three.js, Componentization
PDF Full Text Request
Related items