subject
Engineering, 25.02.2022 20:50 sarbjit879

Modify the html file to add a second red square to the canvas area. Modify the html file to cause the first red square to become 50% transparent when the mouse pointer is colliding with it, and completely opaque when not (no collision).

Modify the html file to cause the second red square to become blue when the mouse pointer is colliding with it, and red when not (no collision).

A collision with either square should make the text read: "Collision!", otherwise it should read "No collision..." (also you should still have only 1 text area, not one for each square).

Don't know how to do this assignment? Looking for any help in coding

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, heidiburgos1own6c0
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:20, kodyclancy
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
image
Engineering, 04.07.2019 19:10, pedropaulofpedrosapp
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg. m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 3
image
Engineering, 04.07.2019 19:10, 592400014353
For a process taking place in a closed system containing gas, the volume and pressure relationship is pvi-constant. -1.5 bar, the process starts with initial conditions, pi = =0.03 m3 and ends with final volume, v2-0.05 m3 determine the work done by the gas.
Answers: 2
You know the right answer?
Modify the html file to add a second red square to the canvas area. Modify the html file to cause...

Questions in other subjects: