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 );
    }
  }

eCAADe 2024:
Urban Street Space Analysis with Spherical Box-Counting

Urban Street Space Analysis with Spherical Box-Counting: Holistic digital Gestalt analysis of architecture in urban space
Talk and Proceeding: eCAADe 2024 – Data-Driven Intelligence (Nicosia, Cyprus | conference)

Spherical box-counting of urban street spaces is a novel method developed and refined by the authors to produce highly specific topological fractal fingerprinting of architecture in relation to observer position and in the context of the accompanying surroundings. ...

eCAADe 2024:
Visualizing Urban Transformations using a 3D Cellular Automaton

Visualizing Urban Transformations using a 3D Cellular Automaton
Talk and Proceeding: eCAADe 2024 – Data-Driven Intelligence (Nicosia, Cyprus | conference)

Urban transformation is key to achieving more livable and sustainable cities. However, modelling this evolution is highly non-trivial since there are many factors at play that manifest themselves in the built (or: non-built/restored) environment. In our most recent work, we have represented urban change as rules of a three-dimensional Cellular Automaton. ...

Entwerfen Reuse, Recycle, Reduce

Algorithmisches Bauen mit und für die Kreislaufwirtschaft

Das Entwerfen mit dem Titel „Reuse, Recycle, Reduce: Algorithmisches Bauen mit und für die Kreislaufwirtschaft“ verbindet die Planung eines mehrgeschoßigen Wohngebäudes mit digitalen Entwurfsstrategien.