]]>

]]>

Hello guys. I've been trying to generate a set of randomly twisted spirals around a curve with python but there's something strange about it. Basically is a set of division points of a initial curve with their respective lists of tangent and perpendicular vectors. I'm trying to rotate randomly this perpendicular vector around the tangent axis at each point and generate another point for the spiral curve. It's suposed to generate spirals around that first curve at a fixed distance (the lenght of the perp vectors, that are all unitized), but it's like this distance accumulates in each loop and this generated spirals rotate around the guide curve like too coordinated to be random. I don't know if the problem is in the random function that generate similar values in the different loops (I've tried some with same result http://docs.python.org/library/random.html) or I'm not seeing some concept error here in the for structure. Would appreciate so much the help.See More

]]>

]]>

]]>

]]>

]]>

]]>

Simple question that is driving me crazy, how can I avoid this to happen?The vectors are oriented in a single direction, but the circle is drawn with a different orientation depending on the vectors direction. I was doing this in Python in order to make several spirals around a curve but I'm blocked with this problem. See More