Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using python QUESTION 2 Plasma Effect: Plasma effects are often used to create wobbly animations in deme products like screen savers. Using mathematical functions in

using python
image text in transcribed
QUESTION 2 Plasma Effect: Plasma effects are often used to create wobbly animations in deme products like screen savers. Using mathematical functions in sine, tan, et, is one way of creating such effects A) Create a prid with xy Cl-..). Pot the function/xy)=sin(5 2). This an over simplified plasma. (bl Now Plot the function (6.9) - ((31) + sin(39)/2. You can try changing the powers of sine and the frequency to see how it evolves to Platf(x,y) = cos ( 20 (cos(20) + stw(207) (d) Now create a colour image with the following parameters = cos(x)+siny) red cosyr) greences r) Wie sin() Take the absolute value of the result to avoid working with regative number tel Try to generate 2 colour plasma effects on your own Now animate a plasma sequence using the following sequence sin (10+5) 12 sn (10(xsin()yos) +50) art Ssin (t/5) sy - y Sms (t/3) in (1006x + y +1+1) v + 2+ where t is the animation time. Show the image as a colour image using the following colour component () Create a meshgrid with xy Cl-..with 100 elements in the randy direction Visualize the image - sin(/** + y). -1.2- At what value at does the image no more display concentric circles. In this case, masquerades as the frequency of the sin curve. Increase the number of samples in the meserid to 50,34...16. For each Walize the image and determine at what values of the image stops displaying concentricies Por against The Nyquist Sampling theory, one of the major theories that determine how we sample continuous functions states that an image can be reconstructed from it's samples without error if the number of samples is at least twice the highest frequency. Can you relate the this with the phenomena in (1. (el. thi

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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