Answered step by step
Verified Expert Solution
Link Copied!

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 256, 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 2000.)6-7. 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
256, 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 2000.)
image text in transcribed

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

Students also viewed these Databases questions

Question

Thurston Company and business process reengineering project (BPR).

Answered: 1 week ago