ml5+TeachableMachine-2024

e.g., mouse, keyboard
e.g., visualization, fractal, mouse
Learn more about Creative Commons
Join Plus+ to change privacy settings
  • mySketch
Select mode or a template
Centers sketch and matches the background color.
Prevents infinite loops that may freeze the sketch.
This will be the default layout for your sketches
Easy on the eyes
It will show up when there is an error or print() in code
Potential warnings will be displayed as you type
Closes parenthesis-like characters automatically as you type

Controls
Play
Ctrl+Enter
Code
Ctrl+Shift+Enter
Save
Ctrl+S
Interface
Fullscreen
Ctrl+Alt+F
Switch Layout
Ctrl+Alt+L
Settings
Ctrl+Alt+.
Editor
Tidy Code
Ctrl+B
Multiple Cursors
Ctrl+Click
Duplicate Line/Selection
Ctrl+Shift+D
Move Line
Alt+↑/↓
Select Multiple
Ctrl+D
Find in Code
Ctrl+F
Find Next
Ctrl+G
Find Previous
Ctrl+Shift+G

See More Shortcuts

Join Plus+ for private sketches, version history, 1GB space, custom embeds, and more!

🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈
🌟 Thank you for using ml5.js v1.2.1 🌟

Please read our community statement to ensure
that the use of this software reflects the values
of the ml5.js community:
↳ https://ml5js.org/about

Reporting:
↳ https://github.com/ml5js/ml5-next-gen/issues
↳ Email: info@ml5js.org
🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈
Initialization of backend webgpu failed
TypeError: Cannot read properties of null (reading 'features')
at Object.factory (https://unpkg.com/ml5@1/dist/ml5.js:257642:21)
at async Engine.ready (https://unpkg.com/ml5@1/dist/ml5.js:1326:29)
at async src_ImageClassifier_0.loadModel (https://unpkg.com/ml5@1/dist/ml5.js:275782:5)
Could not get context for WebGL version
2
Could not get context for WebGL version
1
Initialization of backend webgl failed
Error: WebGL is not supported on this device
at new src_MathBackendWebGL (https://unpkg.com/ml5@1/dist/ml5.js:228977:19)
at Object.factory (https://unpkg.com/ml5@1/dist/ml5.js:230022:49)
at Engine.initializeBackend (https://unpkg.com/ml5@1/dist/ml5.js:1434:50)
at Engine.ready (https://unpkg.com/ml5@1/dist/ml5.js:1326:40)
at async src_ImageClassifier_0.loadModel (https://unpkg.com/ml5@1/dist/ml5.js:275782:5)