text input p5,js code example
Example: p5 input
// Open your console to see the output
function setup() {
let inp = createInput('');
inp.input(myInputEvent);
}
function myInputEvent() {
console.log('you are typing: ', this.value());
}
// Open your console to see the output
function setup() {
let inp = createInput('');
inp.input(myInputEvent);
}
function myInputEvent() {
console.log('you are typing: ', this.value());
}