scripts/physics.js
//function to call expand or hide, based on situation
function to call expand or hide, based on situation
function to call expand or hide based on situation
function change1() {
	if (counter1 % 2 == 0) {
		expand1()
	}
	else {
		hide1()
	}
	counter1++;
}
function change1 ( ) { if ( counter1 % 2 == 0 ) { expand1 ( ) } else { hide1 ( ) } counter1 ++ ; }
function to call expand or hide, based on situation
function to call expand or hide based on situation