How to use a procedure for Fireworks? Consider the image of fireworks in a nighttime sky, a procedure called Burst that moves the pen to a random location on the screen, moves the pen color forward 256, and then draw 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.
Recently Asked Questions
- Provide an example of an implicit and an explicit bias. The examples may be from your own life, from something you have observed, or from the resources
- Please refer to the attachment to answer this question. This question was created from RX1020_Wk1_Worksheet2.
- Please Help Solve these questions with equations and as much information as possible.