Grasshopper

algorithmic modeling for Rhino

Hi Everyone,

This is my first post and I'm extremely new to C# so please be gentle!!

I'm trying to create a Random Walk tool that draws RandomWalks across a circle. Once the Walks has past the circumference of the circle, a new Walk is started. The tool then ends when the total length of all walks has exceeded the StopWhenLongerThan value.

I have attempted to transfer the tool from a javascript code written by my supervisor. I'm sure the tool is crawling with errors..

So I was wondering if somebody could have a look and help me find out where I've gone wrong or perhaps suggest a simpler way of doing things!

Thanks in advance for your help!

I've attached the grasshopper file too.

Views: 1163

Attachments:

Replies to This Discussion

Hi Ellie,

I just came accross your post by coincidence. I am also working on a Random Walk, but it has a different behaviour than yours. Here it is. 

The code is still a little messy I have to clean it up a little. 

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service