Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
ganiya
ganiya's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Help needed with these questions
[2 Replies]
29-Apr-2011 06:44 AM
Forum:
Programming Questions
Hi all I am new to this forum and new to processing software. I need to perform two tasks:
Part One:
Concentric Circles
Your program should use a window that is 400 by 400 pixels in size. The background
should be white. Initially, the window should be empty. When the user clicks the mouse
button, a series of concentric circles will be drawn under the mouse click position. There
should be 4 circles which grow in size and where the first is the largest, the second slightly
smaller, etc.
Part Two
: Improving the Realism
Extends the program to add more realism to the animation and the ripples.
Instead of growing indefinitely, the ripples must stop animating before they
have a diameter of 200 pixels. The animation of the ripples cannot be continuous, it must
run once for each mouse click with the ripples expanding and then going away when they
get too big. You must demonstrate this with some console output to show that animation
has stopped. Later ripples must be drawn with a smaller pen width than earlier ripples. As
ripples grow from the central click location they should fade away so that they are invisible
before they reach the size at which animation stops (200 pixels).
Please provide me solution to these questions. Your help will be highly appreciated
thanks in advance
«Prev
Next »
Moderate user : ganiya
Forum