subject

SCRIPTING AND COMPUTER CODING (JAVA SCRIPT) REPOSTED WITH MORE POINTS In Java Script and JS Processing, what would you write to create a toggle function (if G is pressed, it would either draw a shape on the canvas to it would remove it)

the reason i ask is bc im making a program for a customizable Tesla Cyber Truck that has other features like headlights, all of it is drawn as ellipses, squares, quads, basically 2D shapes, a lot of if and else statements as well, but the only way to change it is to change variables within the script, and im trying to link my program with a basic and universal keyboard layout

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
SCRIPTING AND COMPUTER CODING (JAVA SCRIPT) REPOSTED WITH MORE POINTS In Java Script and JS Process...
Questions
question
Mathematics, 03.06.2020 21:57
question
Geography, 03.06.2020 21:57
question
Biology, 03.06.2020 21:57
question
Mathematics, 03.06.2020 21:57
Questions on the website: 13722360