jit.gl.sketch stroked path - how to replicate code?

    Jan 10 2013 | 2:03 am
    I am using jit.gl.sketch'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 ...
    Thanks, Eva

    • Jan 10 2013 | 7:50 pm
      perhaps this site will help explain how the points are related to the curve: http://techblog.appnexus.com/2011/an-animated-bezier-curve-demo/
      for what it's worth, the jit.gl.path object does draw the curve through all specified points.
    • Jan 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 jit.gl.path. but it looks pretty fabulous.