‘ Research ’ category archive

Jun
03

Same Area Voronoi using Galapagos

I have been quite fascinated by the recent development of Galapagos for Grasshopper. This is a simple example of its application set up to solve for a 10-point voronoi division within a user-defined boundary where all the parts are divided as equally as possible in terms of their areas. I ran this with an initial population of a hundred for 200 generations. The results are not 100% perfect, but very close (which is the nature of an evolutionary solver I believe).

Mar
25

Sub-Dividing

Mar
04

Photocell + 8×8 LED Matrix

This is an example of using 2 photocells and a variable resistor as analog inputs to control 8×8 LED Matrix with PIC18F452, UDN2981, and ULN2803. The input values of the two photocells are compared. When the values are the same, LED lights up randomly within the entire board. Depending on how much darker a photocell is compared to the other, LED lights up within the range that is more focused towards a corner. The variable resistor controls how fast the LEDs blink. This is how the board was set up:

The following is the code:

DEFINE LOADER_USED 1
DEFINE OSC 20
INCLUDE “modedefs.bas”

DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 20

ADCON1 = %10000010

trisb =%00000000
trisd =%00000000
trisa =%11111111
trisc =%10000000

an0 var word
an1 var word
an2 var word
an0b var byte
an1b var byte
an2b var byte

portb = 0
portd = 0

rand_max var byte
rand_min var byte
random_word var word
randomdig var byte

main:

GOSUB getadc
IF an1b < an2b THEN
rand_max=an1b
rand_min=0
ENDIF

IF an1b > an2b THEN
rand_max=7
rand_min=7-an2b
ENDIF

IF an2b = an1b THEN
rand_max=7
rand_min=0
ENDIF

GOSUB generate_Random
portb = 1<<randomdig
GOSUB generate_Random
portd = 1<<randomdig
PAUSE 10*an0b
gosub bd_off
PAUSE 1*an0b

GOTO main

bd_off:
portb=0 : portd=0
RETURN

getadc:
ADCIN 0,an0
ADCIN 1,an1
ADCIN 2,an2
an0b = (an0*8)>>10
an1b = (an1*8)>>10
an2b = (an2*8)>>10
RETURN

generate_random:
RANDOM random_word
randomdig = random_word DIG 1
IF randomdig > rand_max THEN GOTO generate_random
IF randomdig < rand_min THEN GOTO generate_random
RETURN

Feb
22

Analog / Digital Input, Output

This is an example of using 2 variable resistors as analog inputs and a switch as a digital input to control 8 LEDs with a PIC18F452 chip. Variable resistor 1 is used to control which LEDs light up. The second variable resistor controls how fast the LEDs blink. The switch decides whether the LEDs blink or not. MAX232CPE is used to allow serial communication with a computer. PICBASIC was used to program the chip. This is how the board was set up:

The following is the code:

DEFINE LOADER_USED 1
DEFINE OSC 20
INCLUDE “modedefs.bas”

DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 20

ADCON1 = %10000010

TRISA = %11111111
TRISB = %00000000
TRISC = %10001000

adc VAR WORD
adcbyte VAR BYTE

SPEED VAR WORD
SPEEDbyte VAR BYTE

SWITCH VAR PORTC.4

main:

IF SWITCH = 1 THEN

ADCIN 0, adc
adcbyte = adc/140

ADCIN 1, SPEED
SPEEDbyte = SPEED/140

PORTB = %00000001 << adcbyte
PAUSE 100*SPEEDbyte
PORTB = 0
PAUSE 100*SPEEDbyte

ELSE
ADCIN 0, adc
adcbyte = adc/140

PORTB = %00000001 << adcbyte

ENDIF

GOTO main

Feb
16

Catenary – Maya nCloth

Karey (http://kareydarnellhelms.com) showed me a great catenary / structural analysis tool being developed in grasshopper (http://spacesymmetrystructure.wordpress.com/2010/01/21/kangaroo/). Similar ideas can be explored using the nCloth tool in Maya. This is what it looks like.

Jan
29

8×8 LED Matrix

Front side

Cathode rows soldered

Anode rows soldered

Jan
23

Physical Computing – Current Amplification

Today was my first day at a physical computing workshop run by Jin-Yo Mok (http://www.geneo.net). I’m starting from the very basics to understand how every single piece operates at the most fundamental level. The breadboard in the image shows the simplest setup of current amplification using an NPN transistor (2N2222).  Hopefully, I’ll be able to design custom circuit boards in the future as I become more comfortable with all these volts and currents :)

Jan
21

Fibrous Art Bridge

These are some images from a recently finished competition.

Jan
04

Fibers 2

Ordered, but random
Random, but ordered

Dec
17

Fibers

Recent explorations on fibrous structures

a

b

c

Dec
14

Maya Simulations – Hair Ball

Dec
13

Maya Simulations – Wind Field

Nov
29

Vector Sketch – Maya Particles

Nov
23

Vector Sketch

b

Feb
12

Avicular Colonies

 

This is what we submitted for the Evolo Skyscraper competition. Our design imagines of a world where birds evolve to nest skyscrapers. We didn’t end up winning any prizes, but it was a fun process nonethless. You can view the winners at: evolo-arch.com

dsample-01-noise-mesh-array

ff

growh

section

materials

2_final

 

Our final boards can be viewed here:

0223 02232

 

Concept Statement:

This is a proposal for a skyscraper that perhaps will emerge in the near future, which will surface without the contribution of human effort.  Although it will be the unintended side effect of technological progress, and therefore can ultimately be considered the result of human activity. It is a skyscraper nested by birds, out of man-made materials including cars, missiles, buses and tanks and other detritus of the human population. Our materialist and capitalist society tells us that if it is economical and convenient enough, then it is permissible to destroy nature and wipe out natural habitats. Will nature’s environmental refugees continue to face extinction, or, as this structure proposes, will they innovate in their adaptation to survive in this world that is changing faster than ever?

Birds are known to be incredibly capable of adapting to adverse environments. They have continued to evolve in human habitats (or habitats that men have taken over) and have become stronger. Bower birds recognize plastic and metal scraps and decorate their nests with bottle caps, straws and other trash thrown away by people.  Many species have adapted their wings to maneuver through tall skyscrapers and they have become comfortable dwelling within the human-made architectural spaces. They are becoming like us. Male Lyre birds imitate the sounds of their environment in order to attract a mate, even if those sounds include man-made noises such as sounds of camera shutters, car alarms, or the high-powered chain saws of foresters intent on destroying their habitat of trees.

What next? If they learn to flock in bigger colonies and learn to use heavier materials for building their nests, being the excellent architects they already are, what could limit them? To imagine birds building skyscrapers out of humanity’s disposable culture seems laughable. But history is full of ideas and inventions that sounded ridiculous at the moment. Who would have imagined thousands of years ago, when people used to live in huts built of mud and straw, that one day, there would be towering skyscrapers filling the sky? Just as mankind started constructing taller buildings to accommodate the growing population and crowded living conditions, birds, the master builders, will soon need to implement a new typology of nesting as their survival mechanism. As they are losing surface area, birds will need to start extending vertically for higher density. In fact, it is their very anatomic design which defies gravity, that allows them to reside in vertical structures better than human beings, who were designed to circulate merely on two dimensions.

The evolved skyscraping nests will emerge in a few selective areas where birds still recognize as their habitats. An ideal place for the avicular colonies to build their first structures would be the demilitarized zones, where wildlife is unintentionally reserved. There is a long stretch of this DMZ in Korea, the Korean Demilitarized Zone, separating the Korean peninsula in half. Humans have not entered this land for half a century. Unlike the other places in the world, more and more non-human species thrive in the DMZ. It is ironic to see how animals have found their own little Eden in between the war zones. The avicular colony will build an ineffably grand skyscraper and it will be created with piles upon piles of men’s failed dreams and broken hopes in preserving this earth.