{"id":64,"date":"2022-10-18T21:43:57","date_gmt":"2022-10-18T21:43:57","guid":{"rendered":"http:\/\/www.kerneltrick.com\/?p=64"},"modified":"2022-10-18T21:46:45","modified_gmt":"2022-10-18T21:46:45","slug":"shadertoy-screensaver-for-windows","status":"publish","type":"post","link":"https:\/\/www.kerneltrick.com\/?p=64","title":{"rendered":"ShaderToy Screensaver for Windows"},"content":{"rendered":"\n<p>A windows screensaver built to use pixel shaders from ShaderToy.com.&nbsp;<br>The screensaver runs the shaders fullscreen at a low framerate and downsampled so as to use the least resources as possible.<br>On my computer, cpu usage is around 1%.<\/p>\n\n\n\n<p>It features a configuration window like any normal screensaver and detects a multi monitor setup.<br>You can change the framerate and downsampling details with the config window.<br>It comes with 15 different effects and will cycle though them over time.<\/p>\n\n\n\n<p>Download screensaver and source code at <a href=\"https:\/\/www.kerneltrick.com\/download\/RayShaderSaver0.2.zip\">RayShaderSaver0.2.zip<\/a><\/p>\n\n\n\n<p>Some screenshots taken from my 3-monitor setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"75\" src=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss-2.png\" alt=\"\" class=\"wp-image-67\" srcset=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss-2.png 400w, https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss-2-300x56.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"75\" src=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss1.png\" alt=\"\" class=\"wp-image-68\" srcset=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss1.png 400w, https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss1-300x56.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"75\" src=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss2.png\" alt=\"\" class=\"wp-image-69\" srcset=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss2.png 400w, https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss2-300x56.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"75\" src=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss3.png\" alt=\"\" class=\"wp-image-70\" srcset=\"https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss3.png 400w, https:\/\/www.kerneltrick.com\/wp-content\/uploads\/2022\/10\/ss3-300x56.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<p>Written in <a href=\"https:\/\/github.com\/bmx-ng\">BlitzmaxNG and Raylib<\/a><\/p>\n\n\n\n<p>To install the screensaver. unzip on your harddrive somewhere, right click on the &#8220;RaySaver2.scr&#8221; file and choose install.<\/p>\n\n\n\n<p>Note that this screensaver won&#8217;t cover the taskbar. It&#8217;s best to set your taskbar to autohide.<\/p>\n\n\n\n<p>I&#8217;ll write a post later explaining the changes that need to be made to a shadertoy script to work with Raylib.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A windows screensaver built to use pixel shaders from ShaderToy.com.&nbsp;The screensaver runs the shaders fullscreen at a low framerate and downsampled so as to use the least resources as possible.On my computer, cpu usage is around 1%. It features a configuration window like any normal screensaver and detects a multi monitor setup.You can change the&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/www.kerneltrick.com\/?p=64\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[9,20],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-programming","tag-blitzmax","tag-dusty-old-project"],"_links":{"self":[{"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kerneltrick.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}