Loading...
Logo
Processing Forum
sempercapsicum's Profile
2 Posts
0 Responses
0 Followers

Activity Trend

Last 30 days

Loading Chart...

Show:
Private Message
    Hey,

    I'm just working through the Processing textbook and I'm pretty confused about how one translates this:

    vertex(90, 39);
    bezierVertex(90, 39, 54, 17, 26, 83);
    bezierVertex(26, 83, 90, 107, 90, 39);

    into this (for automated replication);

    vertex(1.0*dir, -0.7);
    bezierVertex(1.0*dir, -0.7, 0.4*dir, -1.0, 0.0, 0.0);
    bezierVertext(0.0, 0.0, 1.0*dir, 0.4, 1.0*dir, -0.7);

    What's the formula for this?

    -Pepper
    Hey,

    I'm very new to Processing...currently working through the textbook in the Image/Data chapters at the beginning. I was just curious about loading images...do you need to set the screen size to be the pixel size of the photo or is it supposed to automatically change the screen size to fit the photo's dimensions?

    The book says that the photo will load actual size unless you tell it to do otherwise, but the screen size itself is set at the default of 100x100 px and doesn't resize to fit the photo. Maybe it's just soupy language, but I got the impression that it should adjust when you upload a photo that's larger than the default screen.

    Thanks!
    Pepper