3d paths

edited October 2013 in How To...

hi,

i'm using http://www.moves-app.com/ to track my movements and a connected app to visualize it https://apps.moves-app.com/apps/MMapper/rckP_G3ULscJ9Xg0LNti8870Tj83aXVF/info (which uses processing)

I would like to learn how to use the journey paths to create something like the video still on this page - scroll down http://stereocreative.com/work/playlister-branding

Can anyone help?

Thanks

Tagged:

Answers

  • edited October 2013

    the image on http://stereocreative.com/work/playlister-branding shows 5 paths.

    ok.

    let's say you start with 5 paths. each path is a list of points(x,y) (it would be helpful if you could show one path's data btw)

    when you make a for-loop with i over the data you could say make a connection from point to next point and so forth

    (pseudo-code)

        prevX = 0;
        prevY = 0;
        strokeWeight(3);
        for (int i=1, i < data.length-1, i++) {
            line (dataX[i],dataY[i],i-1000, 
            prevX,prevY,i-1-1000);
            prevX=dataX[i];
            prevY=dataY[i];
        } // for 
    

    heavily edited

    Greetings, Chrisir

Sign In or Register to comment.