Drawing curved "bands" of chaning color and width

Hello,
The Screenshots section of vvvv.org has quite a few beautiful pictures showing dozens of curved lines like grass or hair or confetti paper strings, whose width and color vary - meaning each line itself may have varying width or color. I have been looking in vvvv for a couple of weeks now and could not find a way to draw a curve of varying breadth or color. I tried Line, all of the Bezier nodes etc. Any hints on how to get started in making curved lines of this type?

Examples of the kind of lines I mean are:
http://vvvv.org/tiki-browse_image.php?imageId=4120
http://vvvv.org/tiki-browse_image.php?imageId=4115
http://vvvv.org/tiki-browse_image.php?imageId=4283
http://vvvv.org/tiki-browse_image.php?imageId=4282
http://vvvv.org/tiki-browse_image.php?imageId=4279
http://vvvv.org/tiki-browse_image.php?imageId=4278
http://vvvv.org/tiki-browse_image.php?imageId=4277
http://vvvv.org/tiki-browse_image.php?imageId=4231
http://vvvv.org/tiki-browse_image.php?imageId=4181

(2d:)
http://vvvv.org/tiki-browse_image.php?imageId=4258

Thanks

Iannis Z.

hi,

you could use the Rope (DX9) node to create lines with a width directly. another method would be using bézier or b-spline nodes to create a set of points describing a nice curve, and then using those points to model a line with a width. i patched a demo for you to clarify:

lines_demo.v4p (31.7 kB)

hej,
many of the screenshots you referred to are done with vertexshaders, which is probably the best way of creating curves w/o using too much performance.

browse the shadergallery, you’ll find something there for sure

the rose shots are previews of one .fx to come, as soon as i find the time to fix the normals…

diki and woei, thanks. I’ll try out the lines demo plus some bezier and then see if I can come up with any useful tutorial examples.

Iannis

Nice demo patch Diki, think I amgoing to uase it for myself :)

The 2D one is made with MajorToms “Flock sim”, grab it here!!