Answered step by step
Verified Expert Solution
Question
1 Approved Answer
* * * * IN VISUAL LOGIC SOFTWARE ONLY * * * * PLEASE : ) ) ) Consider the image of fireworks in a
IN VISUAL LOGIC SOFTWARE ONLY PLEASE :
Consider the image of fireworks in a nighttime sky Write a procedure called Burst that moves the pen to a random location on the screen, moves the pen color forward and then draws a firework burst with a random size and number of rays. Hint: You may want to add a minimum value to the random size and random number of rays to avoid having bursts that are too small or have too few rays. The main procedure should call Burst multiple times to generate an image similar to the image below. Note: Because of the random values, your solution image will be different each time you run your program. Hint: You can create a nighttime background by setting the pen color to black and then calling Fill Circle with a sufficiently large value, such as Fireworks. Consider the image of fireworks in a nighttime sky Write a procedure called
Burst that moves the pen to a random location on the screen, moves the pen color forward
and then draws a firework burst with a random size and number of rays. Hint: You may
want to add a minimum value to the random size and random number of rays to avoid having
bursts that are too small or have too few rays. The main procedure should call Burst multiple
times to generate an image similar to the image below. Note: Because of the random values,
your solution image will be different each time you run your program. Hint: You can create
a nighttime background by setting the pen color to black and then calling Fill Circle with a
sufficiently large value, such as
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started