Skip to main content
QUICK REVIEW

[Paper Review] Evolutionary Robotics on the Web with WebGL and Javascript

Jared Moore, Anthony J. Clark|arXiv (Cornell University)|Jun 12, 2014
Evolutionary Algorithms and ApplicationsComputer Science2 references3 citations
TL;DR

This paper presents two WebGL and JavaScript-based web applications for evolutionary robotics: a visualization tool for interactive 3D playback of simulation results and a fully browser-hosted ER environment using PhysiJS and ThreeJS. The key contribution is enabling accessible, interactive, and shareable evolutionary robotics simulations without local software installation, leveraging modern web standards for broader outreach and research dissemination.

ABSTRACT

Web-based applications are highly accessible to users, providing rich, interactive content while eliminating the need to install software locally. However, evolutionary robotics (ER) has faced challenges in this domain as web-based technologies have not been amenable to 3D physics simulations. Traditionally, physics-based simulations require a local installation and a high degree of user knowledge to configure an environment, but the emergence of Javascript-based physics engines enables complex simulations to be executed in web browsers. These developments create opportunities for ER research to reach new audiences by increasing accessibility. In this work, we introduce two web-based tools we have built to facilitate the exchange of ideas with other researchers as well as outreach to K-12 students and the general public. The first tool is intended to distribute and exchange ER research results, while the second is a completely browser-based implementation of an ER environment.

Motivation & Objective

  • Enable accessible, interactive, and shareable evolutionary robotics simulations through web technologies to extend beyond traditional local software constraints.
  • Address the challenge of deploying 3D physics simulations in web browsers by leveraging modern JavaScript-based physics engines and WebGL rendering.
  • Facilitate research collaboration and public engagement by decoupling simulation results from execution environments through standardized log files.
  • Develop a fully browser-based evolutionary robotics environment that supports real-time physics, user interaction, and dynamic fitness visualization.
  • Enhance science communication by allowing users to explore evolved robot morphologies and behaviors from multiple angles and customizable parameters.

Proposed method

  • Implement a WebGL-based visualization system using ThreeJS to render 3D robot simulations from standardized log files containing body configurations and physics states at each timestep.
  • Design a common log file format that captures initial simulation setup and body states, enabling platform-agnostic playback independent of the original physics engine (e.g., ODE, Bullet, PhysX).
  • Utilize PhysiJS—a JavaScript port of the Bullet physics engine—to enable real-time 3D physics simulation directly in web browsers, eliminating the need for local installations.
  • Integrate D3.js to dynamically update fitness scatter plots during evolution, providing real-time visual feedback on evolutionary progress.
  • Build a browser-hosted evolutionary robotics environment ('Evolve-a-Robot') supporting multiple animat types (quadruped, octopod, Sims-style) and a (1+1) evolutionary algorithm with fixed parameters.
  • Structure the system to allow future extension with user-defined evolutionary parameters, distributed genetic algorithm execution, and client-side simulation with server-side result reporting.

Experimental results

Research questions

  • RQ1Can modern web technologies like WebGL and JavaScript enable interactive, real-time 3D physics simulations suitable for evolutionary robotics without local software installation?
  • RQ2How can standardized log files improve the sharing and visualization of evolutionary robotics results across different simulation platforms?
  • RQ3To what extent can browser-based physics engines like PhysiJS support complex, stable, and interactive 3D simulations for educational and research outreach?
  • RQ4How does interactive visualization of evolved robot morphologies and behaviors enhance understanding and engagement compared to passive video demonstrations?
  • RQ5What are the technical and architectural challenges in building a fully web-based evolutionary robotics environment, and how can they be mitigated using existing open-source libraries?

Key findings

  • The WebGL-based visualizer enables interactive 3D exploration of evolved robot simulations, allowing users to adjust camera angles, body colors, and playback speed directly in the browser.
  • The use of a standardized log file format decouples visualization from the underlying physics engine, allowing researchers to share results without distributing complete simulation environments.
  • The Evolve-a-Robot web application successfully runs real-time 3D physics simulations using PhysiJS and ThreeJS, demonstrating that browser-based ER is feasible with modern web standards.
  • The integration of D3.js enables dynamic, real-time fitness visualization through interactive scatter plots, enhancing user understanding of evolutionary progress.
  • The system supports immediate user access to evolutionary robotics experiments via standard web browsers, significantly lowering barriers to entry for students and non-experts.
  • The authors demonstrate that web-based ER environments can be extended to support user-defined parameters, distributed computation, and enhanced interactivity in future versions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.