Wednesday, January 26, 2011

Casestudies_v1.

Casestudies_v1.

Ok. I'll lets be realistic, I'm not in studio and all the scripts thought of have been written. What I'm really doing is beating a dead horse, making something pretty and trying to gain some insight on computation while doing it.

So here I present you Circles! its all the about the color. ;D

Things studied/developed,

:Cases
:rhino.commands


'script portion
+++++++++++++++++++++++++++++++++++++++++++++
ColorChoice = CInt(Rnd*4)

do while ColorChoice = prevCC
ColorChoice = CInt(Rnd*4)
loop

Select Case ColorChoice
Case 0
Rhino.CurrentLayer("red")
Case 1
Rhino.CurrentLayer("yellow")
Case 2
Rhino.CurrentLayer("blue")
case 3
Rhino.CurrentLayer("green")
case 4
Rhino.CurrentLayer("white")
End Select

Saturday, January 22, 2011

Branch(s).ing[z]_v1.

1_Branch(s).ing[z]_v1.
I'll be honest, this is probably the easiest script to write.
I'm no code expert but this is a kick start to hopefully a exciting future.
keep in touch and you'll hopefully see some fun/interesting things on here.

Things studied/developed,

:looping and storing arrays
:color gradient

2_Branch(s).ing[z]_v1.

A sample of code will be added soon.