Yes, that would be cool. Maybe one logic block could take a JS file as a parameter. Then, whatever was in the JS file would load.
// Cube
var geometry = new v3d.BoxGeometry( 200, 200, 200 );
for ( var i = 0; i < geometry.faces.length; i += 2 ) {
var hex = Math.random() * 0xffffff;
geometry.faces[ i ].color.setHex( hex );
geometry.faces[ i + 1 ].color.setHex( hex );
}
var material = new v3d.MeshBasicMaterial( { vertexColors: v3d.FaceColors, overdraw: 0.5 } );
cube = new v3d.Mesh( geometry, material );
cube.position.y = 150;
scene.add( cube );