Skip to content

Instantly share code, notes, and snippets.

Created September 9, 2021 16:45
What would you like to do?
const limpiarCanvas = () => {
// Colocar color blanco en fondo de canvas
contexto.fillStyle = COLOR_FONDO;
contexto.fillRect(0, 0, $canvas.width, $canvas.height);
$btnLimpiar.onclick = limpiarCanvas;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment