Original device was built in actionscript using Macromedia Flash.
Looking into Learning Adobe Animate to migrate the solution to HTML5 canvas
https://www.w3schools.com/html/html5_canvas.asp
https://www.agitraining.com/adobe/adobe-edge-discontinued-merged-into-flash-dreamweaver