VISUAL SIMULATOR MOTION OF PARTICLES UNDER THE INFLUENCE OF VECTOR FIELDS

  • Vladimir Divjak Univerzitet u Beogradu, Elektrotehnički fakultet
  • Dražen Drašković Univerzitet u Beogradu, Elektrotehnički fakultet
  • Bojan Furlan Univerzitet u Beogradu, Elektrotehnički fakultet
  • Boško Nikolić Univerzitet u Beogradu, Elektrotehnički fakultet
Keywords: fields, HTML5 technology, WebGL, visual simulator, education

Abstract

Visual simulator motion of particles under the influence of the vector field is implemented as a tool that helps in the visualization of complex interference of vector fields and the resulting effect on the particles, and for a better understanding of our physical environment. The paper explains the goal of the implemented model, application usage and presents APIs of HTML5 technology. The simulator have been used WebGL API for direct access to the graphics adapter, WebGL library THREE.js, which abstracted operations on graphics adapter and provides access to the object-oriented model of the system of particles and Web Worker API that provides multiprocessor support within the JavaScript language. Simulator uses a simple open model of particles that can be easily modified or extended, as well as open implementation of the mathematical model of vector fields, which allows easy extension of the set of vector fields, which can be simulated. The application is completely client-based and executed in any new web browser. The simulator can be used for scientific-research and educational purposes. At the University of Belgrade, School of Electrical Engineering, this simulator is used in the teaching process for the Web design course, in the second year of the study program Software Engineering, to show the possibilities of HTML5 standards.
Published
2019-01-15
Section
Articles