Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new Processing file, and save it as interactivePaintingLab 2 a _ yourLastNameInitial.pde file. Design a your own 1 st function code block to

Create a new Processing file, and save it as
interactivePaintingLab2a_yourLastNameInitial.pde
file. Design a your own 1st function code block to
generate multiple circles(e.g., ellipse) positioned at the location of mouse cursor.
2. Create 2
nd function generating different shapes
along with different pattern through mouse
interaction.
3. By dividing the window area into multiple regions
(if else statements), assign each function call to
one specific region to generate specific shapes
only appear in a target area.
Add 3
rd function to design your own shape.
a) To create your own shape, find any
reference image from the web (e.g.,
Google starfish).
b) Review the coordinate of vertices of the
shape. To identify the position of
vertices of the shape in Photoshop, go
to Photoshop menu Edit > Preference >
General to switch to Pixel units. Record
coordinate (x, y) of important vertices
(corner points).
c) To generate a polygon shape. Use
beginShape() and endShape() functions
to group vertices together.
Call your 3rd function inside draw() in a separate
section.
6. Create 4
th function to load an image. To load an
image, use image() function inside your 4th
function. Call this function inside draw() to
display its effect.
7. Add minimum 3 image filter which can be
activated when different keys are pressed.
8. To save a single frame as an image, use save()
function. save("Lab02_LastName.png");
9. After testing your design whether you
incorporate all the technical requirements, add
some extra feature showing your creativity

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

Describe new developments in the design of pay structures. page 501

Answered: 1 week ago