Prueba de lápiz y lápiz
Dibuje con un lápiz óptico, inspeccione la presión y la inclinación cuando estén disponibles y compare la entrada del lápiz con la entrada del mouse.
Interfaz de prueba
Es posible que su navegador le solicite permiso después de presionar Inicio.Cómo utilizar esta herramienta
- Select Pen, Mouse, or Any and draw on the canvas.
- Watch pressure, tilt, and pointer coordinates where your device provides them.
- Use the line and accuracy tests to check consistency.
- Clear the canvas or download your drawing if needed.
Anuncio
Explicación técnica
Pointer Events expose pointerType, pressure, tiltX, tiltY, and coordinates. Pen pressure is normalized from 0 to 1 and may be simulated by some browsers when the hardware does not report it.
A browser cannot read the pen’s internal calibration or button layout. Hover, barrel buttons, and eraser detection depend on the operating system and browser implementation.
Solución de problemas
Pressure stays the same
Your device or browser may not expose pressure. Check whether the pen supports pressure in another drawing app.
Pen is treated as a mouse
Some browsers or remote-desktop sessions lose pen metadata. Try a local browser session.
No tilt values
Tilt requires hardware and browser support and is not available on all tablets.
Erase mode is missing
Eraser detection depends on the pen and operating system. Use the eraser mode button if pressure is not exposed.
Herramientas relacionadas
Preguntas frecuentes
Anuncio