subject

SCRIPTING AND COMPUTER CODING (JAVA SCRIPT) 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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
What can tanya do now to start preparing for the college and scholarship application process? think about her grades, activities in which she can get involved, possible part-time jobs at which she can work, and standardized tests she can take. (10 points) apex
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 1
You know the right answer?
SCRIPTING AND COMPUTER CODING (JAVA SCRIPT) In Java Script and JS Processing, what would you write...
Questions
Questions on the website: 13722361