Stegreifentwerfen "gesteckt nicht geschraubt 2.0"

digitales Stegreifentwerfen
G. Wurzer, W.E. Lorenz, S. Swoboda. Im Zuge der Lehrveranstaltung wird die Digitalisierung vom Entwurfsprozess bis zur Produktion an Hand einer selbsttragenden Holzstruktur untersucht: vom Stadtmöbel über die Skulptur zur Brücke. ...

dap – digital architecture and planning

TU Wien | dap – digital architecture and planning
Logo und CI Entwicklung (Logo, Briefpapier, Visitenkarte)

SimAUD 2020:
Proceedings

2020 Proceedings of the Symposium on Simulation for Architecture and Urban Design
A. Chronis, G. Wurzer, W.E. Lorenz, C.M. Herr, U. Pont, D. Cupkova, G. Wainer (ed.)
SimAUD, Vienna (online), 2020, ISBN: 978-1-56555-371-2; 622 pages
zu den Proceedings

Jenga

This project uses three.js. Make your choice and press reset. Or press play button and change settings.

  • n-rows by m-levels
     

code

///////////////////////////////////
// JENGA ///////////////////////
  /* add levels */
  var moveX = boxWidth + boxGap;
  var moveY = boxHeight + boxGap;
  /* draw copies in a row */
  for (var j = 0; j < numFloors; j++) {
    for (var i = 0; i < numRows; i++) {
      /* modulor => every second level */
      var modFloor = j % 2;
      if (modFloor == 0) {
        cube.position.x = ( - ((boxWidth + boxGap) * ( numRows - 1 ) / 2 ));
        cube.position.z = 0
      } else {
        cube.position.x = 0;
        cube.position.z = ( + ((boxWidth + boxGap) * ( numRows - 1 ) / 2 ));
      }
      var cubeSec = cube.clone();
      /* rotation of every second level */
      if (modFloor != 0) {
        var rotateBox = 90;
        cubeSec.rotation.y = ( rotateBox / 180 ) * Math.PI;
      }
      cubeSec.translateX( i * moveX )
      cubeSec.translateY( j * moveY )
      scene.add( cubeSec );
    }
  }