The Biomorph Entity program simulates an artificial life entity. Simple rules of segment interaction leads to emergence of complex behaviour.
Biomorph Entity
The program was coded in Python programming language and Pygame multimedia library, and was compiled to JavaScript with the Transcrypt Python-to-JavaScript compiler and the Pyjsdl-ts library.
Pyjsdl is an HTML5 multimedia library that is a substitute for Pygame functionality. Pyjsdl-ts is a Pyjsdl port adapted for Transcrypt. Transcrypt can compile Python 3 code to JavaScript, deriving an app that can run in the browser. For information on the Pyjsdl-ts, check Usage of Pyjsdl with Transcrypt post.