• fullscreen
  • Yashika_Gulati_13.pde
  • // the composition doesnt represent architecture as such but a part of it.
    //the whole idea was to generate the void and solid effect which can be used in elevation
    //as facade or maybe in plan to link a cluster of solid to another
    void setup () {
      size (300, 300);
    float count=3000; //variable to play with the number of rectangles
    float num=3050; 
    float rectCenter;
    void draw () {
      rectCenter=random(30, 290);        //  to randomize the centre of rectangle
      if (count < num) {
        if (count%10 ==0) { // centre of the rectangle to be spaced at an interval of 10
          fill (16, 64, random(0, 150), random(90, 100));
          rectMode (CENTER);
          rect(count*width/num, rectCenter, random(5, 15), 10); 
          // high variation in the width and height is not what i was aiming at. 
          // simple geometry to be read in architecture
        else {


    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.



    Report Sketch

    Report for inappropriate content

    Please provide details if possible:

    Your have successfully reported the sketch. Thank you very much for helping to keep OpenProcessing clean and tidy :)

    Make a Copyright Infringement claim

    Yashika Gulati

    3.2 Homework

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    Pattern of solid and void to mainly focus of skin of the building.

    You need to login/register to comment.