{"id":1266,"date":"2025-07-23T15:25:00","date_gmt":"2025-07-23T15:25:00","guid":{"rendered":"https:\/\/stuartcupit.com\/wordpress\/?p=1266"},"modified":"2025-12-27T15:47:04","modified_gmt":"2025-12-27T15:47:04","slug":"touch-fluid-ai-stream-diffusion","status":"publish","type":"post","link":"https:\/\/stuartcupit.com\/wordpress\/?p=1266","title":{"rendered":"Touch Fluid AI Stream-Diffusion"},"content":{"rendered":"\n<p>This was a fun little project combining realtime AI generative images and a 2D fluid simulation with a touch screen.<\/p>\n\n\n\n<p>Tapping and dragging on the touchscreen, using this point as the input to the fluid simulation. Then, feeding the resulting images to an image2image Stream-Diffusion image generator from <a href=\"https:\/\/dotsimulate.com\/docs\/streamdiffusiontd\">Dotsimulate<\/a>. A range of different prompts can be used to style the AI images. <\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-Interactive-Fluid-Simulation_16x9.mp4\"><\/video><\/figure>\n\n\n\n<p>The results feel like you are painting detailed themed images with your fingers in a fun and playful way.<\/p>\n\n\n\n<p>Because I only had a touch screen on my laptop but the laptop didnt have a powerfull enough GPU to run the AI Stream-Diffusion, I had to use a remote desktop to connect the laptop touch input to my desktop which generated the images. It worked really well with minimal latency but would be even slicker using a touch screen connected directly to the desktop PC. This would work well in a table top interactive setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-fluid.jpg\" alt=\"\" class=\"wp-image-1268\" srcset=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-fluid.jpg 1920w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-fluid-400x225.jpg 400w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-fluid-768x432.jpg 768w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2025\/12\/AI-fluid-1536x864.jpg 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Project featured in Solarflare&#8217;s Launch <a href=\"https:\/\/solarflarestudio.co.uk\/launch\/ai-touch-painting-with-light-and-gesture\/\">https:\/\/solarflarestudio.co.uk\/launch\/ai-touch-painting-with-light-and-gesture\/<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a fun little project combining realtime AI generative images and a 2D fluid simulation with a touch screen. Tapping and dragging on the touchscreen, using this point as the input to the fluid simulation. Then, feeding the resulting images to an image2image Stream-Diffusion image generator from Dotsimulate. A range of different prompts can&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1271,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1266"}],"version-history":[{"count":3,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1266\/revisions"}],"predecessor-version":[{"id":1273,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1266\/revisions\/1273"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/1271"}],"wp:attachment":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}