Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32569

Re: Find element/object below mouse

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Find element/object below mouse
Date Thu, 09 Feb 2017 02:07:25 +0100
Organization PointedEars Software (PES)
Lines 18
Message-ID <6644223.EvYhyI6sBW@PointedEars.de> (permalink)
References <f29d15a6-d5d3-49eb-907c-52a8972d3444@googlegroups.com> <sle60fn8jola.7jj05r2oxc55$.dlg@40tude.net>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Trace solani.org 1486602446 2366 eJwFwYEBwDAEBMCV8EiM4zX2H6F3gdSc4xnpsbHSRX37GWkwgtXOG7hQ+jRELqbr2a6e4fkBJyARdw== (9 Feb 2017 01:07:26 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 9 Feb 2017 01:07:26 +0000 (UTC)
User-Agent KNode/4.14.2
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Cancel-Lock sha1:fjtFT8WmIazGVP/h5Di43cQ7tHM=
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
X-User-ID eJwNxscBwCAMA8CVMEIu44DL/iMk9zpCRdOOUg+H88p3O6XvvhWQjPQErEd6VewB8fIOxJXQ4tHlzxhk/ZMPYC4VDw==
X-NNTP-Posting-Host eJwNxsERACEIA8CW4mHCWE6Qof8Szn0tQ0s3t6jN4YwvgCB0ctmozmhV8c2fjMU2TivdGNYPHPgRZA==
Xref csiph.com comp.lang.javascript:32569

Show key headers only | View raw


JJ wrote:

> Your canvas "objects" is only in your script's mind. Canvas only sees
> pixels. You'll have to do it manually for each canvas "object" you create
> like any other games in any platform.

This is precisely the problem with Canvas.  In SVG, you do have the 
geometric shapes as DOM objects instead, and you can let the renderer do any 
calculations required to modify the shape; the only thing you have to tell 
it is which shape you want.  Also, there is no standard that you can even 
remotely rely on, while SVG is a Web standard.  I regard Canvas as a 
technique inferior to SVG.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-05 21:29 -0800
  Re: Find element/object below mouse JJ <jj4public@vfemail.net> - 2017-02-06 20:03 +0700
    Re: Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-06 08:30 -0800
      Re: Find element/object below mouse Silvio <silvio@internet.com> - 2017-02-06 19:01 +0100
        Re: Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-06 11:20 -0800
          Re: Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-06 11:56 -0800
            Re: Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-06 11:59 -0800
          Re: Find element/object below mouse JJ <jj4public@vfemail.net> - 2017-02-07 22:35 +0700
            Re: Find element/object below mouse jonas.thornvall@gmail.com - 2017-02-07 07:46 -0800
    Re: Find element/object below mouse Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-09 02:07 +0100

csiph-web