This course blog is where we communicate as a group, share responses to assignments, and post our work. You are required to publish posts according to assignments found on Moodle, and are encouraged to share images, make comments, and pose public questions throughout the semester.
Hi Xiomara, It all depends on the kind of shape you're trying to make. If you're trying to make a skewed rectangle, for instance, use the quad() function instead of rect(). Also, use the Processing reference page to look this up. A quad() calls for eight numbers in order to create four points. This way you can make a four-sided shape that has any points that you want. Each of the four points of your desired shape are assigned using two numbers, the x and y of each point. I would be happy to show you on Thursday if you're still struggling. Great question!
Hi Xiomara,
ReplyDeleteIt all depends on the kind of shape you're trying to make. If you're trying to make a skewed rectangle, for instance, use the quad() function instead of rect(). Also, use the Processing reference page to look this up. A quad() calls for eight numbers in order to create four points. This way you can make a four-sided shape that has any points that you want. Each of the four points of your desired shape are assigned using two numbers, the x and y of each point. I would be happy to show you on Thursday if you're still struggling. Great question!