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, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Write an assembly language program to input a string from the user. your program should do these two things: 1. count and display the number of words in the user input string. 2. flip the case of each character from upper to lower or lower to upper. for example if the user types in: "hello there. how are you? " your output should be: the number of words in the input string is: 5 the output string is : hello there. how are you?
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another person that is not true.
Answers: 2
You know the right answer?
SCRIPTING AND COMPUTER CODING (JAVA SCRIPT) In Java Script and JS Processing, what would you write...
Questions
question
Mathematics, 20.09.2020 07:01
question
Mathematics, 20.09.2020 07:01
Questions on the website: 13722367