Added: 2 years ago
From: ste1438
Views: 7,318
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (26)

Sign In or Sign Up now to post a comment!
  • ellipse(ax,centery,cx,by);

    xD

  • it did not work for me

  • i'm quite happy that i understand most of it . but could you please explain me the meaning of

    " 1- - " and ""1 ++", i still didn't got it as i'm very stupid in math. thanks !

  • @householdscientist 1-- is basically i = i - 1

    And i++ is i = i + 1

    It's just easier to do ++/-- rather than typing it out.

  • @Yanagi225 , Thanks , i got it ! : )

  • How would you get the same effect with ellipse?

  • @WhiteBeltAcademy I think ellipse maybe easier, coz just need define the centre point and the size....? maybe other is the same logic as triangle.

  • noStroke();

    triangle(ax,ay,bx,by,cx,cy);

    for(int i=triangle_scale; i>=0; i=i-3)

  • Comment removed

  • why is ax=centerx; not in the loop?

  • @Shockszzbyyous same question here!!!

  • @Shockszzbyyous first of all, sorry for my bad english!

    it's because the value of ax dosn't change. if ax=centerx-i; would be in the for-loop the triangle would turn to the left and to the right with ax=centerx+i;. try it out.

    hope this helps you

  • not really like the arduino ide but some syntaxes are the same :)

  • Comment removed

  • really great turtorial

  • Can't get this to work. Copy'd everything 1:1 and he doesn't want to take my "i". Keeps telling me that there is no "i". Tried for about half an hour now :<

  • Comment removed

  • Comment removed

  • Comment removed

  • Comment removed

  • really helpful videos well explained. Thanks

  • Really awesome! Except you could try this:

    Change the stroke value to (0,0).

    This makes it transparent, and the gradient effect looks cooler :)

  • Never mind, I wasn't done watching the video when I commented ^_^

  • what does for stand for? why do you need it?

  • wow, this was realy helpfull, I try to make different sized rectangles move back and forth together (so that it looks like they where unified) and i think with a loop that controles speed through a syntax this should be easy

    but if anyone knows a way to gain this effect easier I'ld be grateful :D

  • these are really helpful

    thank you!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more