» SplinesGPU
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.


effect curve spline line gpu
Credits: http://paulbourke.net


given a set of 3d positions the shader interpolates to a higher resolution and calulates lines/curves/splines/ribbons with phong shading.


  • equal vs and ps version for ati cards
  • fixed texture coordinates
  • fixed thickness calculation for bezier
  • spelling and some code beauty


  • linear interpolation
  • cosine interpolation
  • cubic interpolation
  • b-spline (third degree)
  • tcb-spline (hermite interpolation with tension continuity and bias control
  • bezier (cubic)
  • piecewise bezier (cubic)


SplinesGPU 0.2.zip
11.11.11 [01:28 UTC] by woei | 3703 downloads
SplinesGPU 0.2 bug fixing
Show 1 older revisions

Older Revisions

SplinesGPU 0.1.zip
13.10.11 [03:46 UTC] by woei | 906 downloads
SplinesGPU 0.1 initial version

liquid 13/10/2011 - 05:49

that's huge! thxs for this!

alg 13/10/2011 - 11:27

This is amazing, but can you fix one bug- splines don't work on ATI cards, when PS compiled to 2_0. Just compile PS to 3_0 and it's works on ATI. Also, you need to enable antialiasing by default because without it thin lines looks ugly.

antokhio 13/10/2011 - 11:27

nice! super cool!

everyoneishappy 13/10/2011 - 16:25

These look stunning!
I was about to say moving the renderer on to a 2nd screen seems to stop the effects, but it looks like it's just the mesh subpatch needs reapplying.

Very cool.

lasal 13/10/2011 - 16:36

Thanks Woei, clean and useful as always.

u7angel 13/10/2011 - 18:23

wicked stuff. amazing, absolutely useful.

sanch 13/10/2011 - 19:31


tekcor 15/10/2011 - 15:37

wow this is amazing!

sinus 15/10/2011 - 15:52

thx woei!!!!!! hurra, dd

m4d 17/10/2011 - 20:20

totally missed this. awesomeness indeed!!1

Noir 12/11/2011 - 01:56


chico 24/07/2012 - 08:08

kickass stuff

zeos 25/07/2012 - 02:05

so cool ;) Thanks!

sansui 10/06/2013 - 19:49

this looks very nice.
I copied .fx files to vvvv folder/contributions/effects(root.v4p adding).
and I restarted vvvv.
but no .fx effects added in node browser.
I'm using vvvv45beta30x86. what is problem?

joreg 11/06/2013 - 00:00

sansui: this contribution is a collection of effects so according to nodes and paths you'll have to place the unzipped content into an \effects directory inside your "contribution" directory which you referenced in the root.

also note that this contribution didn't pack its helppatches correctly so you'll not be able to open them by pressing F1 on the respective .fx nodes but you'll rather have to open them manually from the directory.

sansui 11/06/2013 - 12:29

thanks! joreg.
I knew the instruction about paths. lately, because of reinstalling vvvv, I missed targetting contribution directory in root patch.
now after targetting the folder, it works well.

anonymous user login


~22h ago

joreg: and also tomorrow, July 23rd: vvvv meetup in #berlin 11-berlin-vvvv-meetup-new-space creativecoding #visualprogramming

~6d ago

joreg: In case you missed: We're starting with free bi-weekly introductions to #vvvv next week in #berlin free-vvvv-intro-workshops-this-summer-in-berlin #creativecoding

~7d ago

guest: uno|https://platform.uno/

~14d ago

joreg: @beyon too bad. but from now on we have a fixed schedule: every 4th tuesday in the month! hope this helps to plan evvvveryones visits

~14d ago

beyon: joreg: ah, bad timing, I would be happy to attend but I doesn't look like it will work out

~14d ago

joreg: @beyon any chance you can add 2 days to stay? would be great to have you at the (not yet announced) #vvvv meetup on the 23rd!

~14d ago