Forums > Jitter stroked path – how to replicate code?

January 10, 2013 | 2:03 am


I am using’s inbuild stroked-path drawing function (beginstroke, strokeparam, strokepoint, etc.). For prototyping and comparison purposes, i would like to replicate the same functionality with processing. Can anyone point me in a direction for how the code works?

It’s doesn’t seem to be simple bezier or curve code, as the stroke doesn’t actually go through the defined stroke points. Maybe the bezier points are half way between the defined points. Not sure. But before i start prototyping on wild guesses, i thought i’d ask here …


January 10, 2013 | 7:50 pm

perhaps this site will help explain how the points are related to the curve:

for what it’s worth, the object does draw the curve through all specified points.

January 10, 2013 | 11:27 pm

merci Rob. looks like i’ll need to dig deeper into higher-order bezier code.

not on max6 yet, so i can’t use but it looks pretty fabulous.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter