{"id":20935110,"url":"https://github.com/moimart/caustics-hass-player","last_synced_at":"2026-04-27T14:02:56.010Z","repository":{"id":204525520,"uuid":"712041223","full_name":"moimart/caustics-hass-player","owner":"moimart","description":"simple website to be used together with a projector and to recreate the beatiful Blade Runner 2049 water caustics in Wallace's quarters","archived":false,"fork":false,"pushed_at":"2023-10-30T19:59:25.000Z","size":9913,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T19:56:44.462Z","etag":null,"topics":["bladerunner","caustics","homeassistant","shaders"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moimart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-30T17:12:53.000Z","updated_at":"2023-10-30T17:22:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"78a03298-eaac-49d9-a3c5-52751c75f8ff","html_url":"https://github.com/moimart/caustics-hass-player","commit_stats":null,"previous_names":["moimart/caustics-hass-player"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moimart%2Fcaustics-hass-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moimart%2Fcaustics-hass-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moimart%2Fcaustics-hass-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moimart%2Fcaustics-hass-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moimart","download_url":"https://codeload.github.com/moimart/caustics-hass-player/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330266,"owners_count":20274037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bladerunner","caustics","homeassistant","shaders"],"created_at":"2024-11-18T22:13:03.733Z","updated_at":"2025-12-27T18:37:54.192Z","avatar_url":"https://github.com/moimart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"caustics-hass-player\n=====\n\n# What the heck is this?\n\nThis is a simple website to be used together with a projector and to recreate the beatiful Blade Runner 2049 water caustics in Wallace's quarters\n\n![Blade Runner 2049 Wallace's quarters' caustics](blade-runner-2049-caustics.png)\n\nIt's linked to a light you might have setup in home assistant to change the color of the caustics\n\n# Setup\n\ncreate a .env from the .env.sample\n\nYou will need to create a home assistant token and add it to the .env file. Select a fqn for a light in your home assistant to link the caustics color to and add it to the .env file. Finally add a full url for your home assistant instance\n\nOnce you have the .env file filled in, you can use docker-compose or build the docker image to get it up and running on port 3000\n\n```\n$ docker-compose up -d\n```\n\nAlternatively, if you just want to run it directly do:\n\n```\n$ npm install\n```\nthen\n```\n$ node server.js\n```\n\nand point a browser to localhost:3000 to get the shader running. \n\nI have a raspberry pi running this connected to a projector\n\n# Misc\n\nThere is commented code and a sample video in the html folder with recorded caustics instead of the default fragment shader. This is purely an exercise for the reader if you want to make it work; Just uncomment the code and change the fragment shader source variable. It should work right away. \n\nBe warned, some browsers don't loop the video very smoothly.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoimart%2Fcaustics-hass-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoimart%2Fcaustics-hass-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoimart%2Fcaustics-hass-player/lists"}