betweenspace

paul allitt - virtual artist in residence at

VANetwork studio


 

 

day four

this is looking good, though i think i need something else to finish it off. i'm going to introduce one of the shapes i call clouds. this is based on the tiles on the right, the code for this is quite long but i've perfected this before so i just need to drop it in. bit of fiddling around to get the size of the tiles right, add the script to control the colours, some more buttons and i think i'm there.

the basic rules for the clouds:
• within the overall area of the cloud select a random target tile,
• from the available tiles randomly select a new tile
for that location,
• change the four tiles along the target tile’s edge to match with that edge and the edge of the tile on its opposite side,
• fill in the remaining four corners, matching edges,
• repeat.

when i'm coding something complicated it really helps to write out exactly what i want to do before i start, makes things easier and helps to explain to others just what is going on.

well unusually the ideas i had along the development of this work have mostly worked well, often i try something and something just doesn't fit. it can be something small, like the scale of one of the elements, or it might be the way the code itself works. when i originally needed to get the two layers of clouds to follow each other it took me about a week. found i was just looking at the problem from the wrong direction and re-coded it in half an hour.

click here for a full size version


 


 

 

home