{"id":489,"date":"2011-05-02T23:33:04","date_gmt":"2011-05-02T21:33:04","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2011\/05\/02\/mouse-locating-kwin-effects\/"},"modified":"2011-05-02T23:33:04","modified_gmt":"2011-05-02T21:33:04","slug":"mouse-locating-kwin-effects","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2011\/05\/02\/mouse-locating-kwin-effects\/","title":{"rendered":"Mouse locating kwin effects"},"content":{"rendered":"<p>Ever felt lost on your desktop? Or more precisely: unable to find your mouse pointer within a (few) second(s)? I know I have, and nowadays on 2 monitors or more (or a huge 48&#8243; tv), this isn&#8217;t an exception.<\/p>\n<p>In KDE, we always had the track mouse effect which draws circling yellow stars around your pointer. Unfortunately, this is not adequate anymore. That&#8217;s why I thought it would be fun to write my own effect which would do a better job. The key to success seems to me that it should be a full screen effect drawing the attention to the right spot no matter where at the screen you&#8217;re looking.<\/p>\n<p>For now, I&#8217;ve devised 3 effects:<\/p>\n<ol>\n<li><strong>Looney tunes zoom:<\/strong> fancy term for describing an effect which darkens the background and zooms in on the cursor with a spotlight. I somehow associated that with intro or outro from looney tunes, not sure if that makes sense. :p<br \/><iframe loading=\"lazy\" width=\"425\" height=\"349\" src=\"http:\/\/www.youtube.com\/embed\/3sXoQkJYzj0\" frameborder=\"0\" allowfullscreen><\/iframe><\/li>\n<li><strong>Sunray:<\/strong> animates some kind of rays around the mouse position.<br \/><center><a href='https:\/\/mattiesworld.gotdns.org\/weblog\/wp-content\/uploads\/2011\/05\/screenshot-capture0006ogv-1.jpg' title='kwin sunray mouse locate effect'><img src='https:\/\/mattiesworld.gotdns.org\/weblog\/wp-content\/uploads\/2011\/05\/screenshot-capture0006ogv-1.thumbnail.jpg' alt='kwin sunray mouse locate effect' \/><\/a><\/center><\/li>\n<li><strong>Radial texture animation:<\/strong> least fancy name, as it is so generic. \ud83d\ude42 It just animates a texture from outer to inner. The concrete application is to show arrows pointing to the mouse.<br \/><center><a href='https:\/\/mattiesworld.gotdns.org\/weblog\/wp-content\/uploads\/2011\/05\/screenshot-capture0007ogv-1.jpg' title='kwin arrow mouse locate effect'><img src='https:\/\/mattiesworld.gotdns.org\/weblog\/wp-content\/uploads\/2011\/05\/screenshot-capture0007ogv-1.thumbnail.jpg' alt='kwin arrow mouse locate effect' \/><\/a><\/center><\/li>\n<\/ol>\n<p>For the last 2 effects, I don&#8217;t have screencasts yet, don&#8217;t ask, I&#8217;ve been through hell to create the first one. Also, for the last one, I have to fix the texture uv map generation, or use a better mesh (or maybe a different technique \ud83d\ude42 ).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever felt lost on your desktop? Or more precisely: unable to find your mouse pointer within a (few) second(s)? I know I have, and nowadays on 2 monitors or more (or a huge 48&#8243; tv), this isn&#8217;t an exception. In KDE, we always had the track mouse effect which draws circling yellow stars around your &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2011\/05\/02\/mouse-locating-kwin-effects\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Mouse locating kwin effects<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,33],"tags":[],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-kde","category-kwin-effects"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}