Hello,
I have a script that I have been toying around with for a while that essentially takes a graph and assigns the output values to be the offset spacing between vectors. Simple enough. I would like to take this idea one step further and use the values from a gradient parameter to do the same thing, the idea being that the colour of the gradient (from black to white, with the potential for multiple stops in between), determines the density of spacing between parallel lines which would later be piped to simulate EMT conduit (for reference this script is for a basic shading system).
As of now, the vectors are placed on the arbitrary X-Y plane, but at some point, I would like to be able to have them bound to a surface. Mind you, this is me getting way ahead of myself. Ideally, the domain of the series would correspond to the length of the surface the vectors are set to follow, so the full length of the gradient corresponds to the full length of the surface (if that makes sense). If it doesn't make sense, disregard THIS paragraph and help me out with the first, if you don't mind. :)
I apologize for the fact that the script is a mess at the moment, but I've had a kitchen-sink approach to developing it; normally I DESPISE unorganized scripts without comments.
Let me know what you think.
Cheers.
Tags: