tried to look around but couldn't quite find the right place...
i don't want to post a topic in the wrong section so a bit of direction would be greatly appretiated
thanks again!!
point.x += math.noise(inc);
point.y += math.noise(inc);
Karl DD wrote:Sounds good!
I would take a look at the Median Shapes source code as it draws with two separate lines. But you could easily change that to any given amount of lines.
To give it some randomness, I would probably go for Perlin Noise to give the lines a more natural feel.
This has been implemented in AlcMath, so you can do something like this:
- Code: Select all
point.x += math.noise(inc);
point.y += math.noise(inc);
Where 'inc' is a counter that continuously increases by some amount.
I'm guessing you have seen the module tutorial right?
http://al.chemy.org/contribute/module-tutorial/
That should get you going with the basics.
Let me know if you need any help.
Users browsing this forum: No registered users and 0 guests