Posts

Gui Elements added to Simphy

SimPHY now supports its own gui elements which respond to their associated events through scripts.
Ex.
Button: allows user to write script on its onClick() event. for example

function button_onclick(){
    var disc = world.addDisc(0.3)
}

adds disc of radius 0.3 at origin whenever button is pressed.

Read more