On Oct 3, 2011, at 1:16 PM, "Gregg Tavares (wrk)" <gman@google.com> wrote: > What about mouse input? > > It seems like for this proposal to actually work as other CSS works > you'd need to run mouse and touch events through the vertex shader so > that you get the mouse coordinates translated through the shader. > > Yes? No? > CSSMatrix and transform3d are a good start. A method returning a CSSMatrix object may be enough. The following would help me to track elements and mouse clicks: CSSMatrix getMatrixFromBounds(x,y,[optional] width, height) 1. Use the canvas width and height as the limits, 2, return a css matrix. The author is responsible for using the matrix to translate points.Received on Monday, 3 October 2011 21:24:25 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:04 UTC