{"id":22376928,"url":"https://github.com/benclifford/swirlclock","last_synced_at":"2026-02-23T06:03:03.505Z","repository":{"id":137549360,"uuid":"287743824","full_name":"benclifford/swirlclock","owner":"benclifford","description":"NeoPixel spiral wall decoration disco lights","archived":false,"fork":false,"pushed_at":"2025-01-19T16:05:47.000Z","size":684,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-15T19:44:59.041Z","etag":null,"topics":["leds","neopixel","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benclifford.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-15T12:38:24.000Z","updated_at":"2025-01-19T16:05:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"327e0612-ec33-44df-be97-133271c81aa8","html_url":"https://github.com/benclifford/swirlclock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benclifford/swirlclock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benclifford%2Fswirlclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benclifford%2Fswirlclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benclifford%2Fswirlclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benclifford%2Fswirlclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benclifford","download_url":"https://codeload.github.com/benclifford/swirlclock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benclifford%2Fswirlclock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["leds","neopixel","raspberry-pi"],"created_at":"2024-12-04T22:12:15.508Z","updated_at":"2026-02-23T06:02:58.497Z","avatar_url":"https://github.com/benclifford.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"colour spiral clock/patterns\n============================\n\nBen Clifford\nbenc@hawaga.org.uk\n\nThis is driver code for a wall-mounted colour spiral\nmade from an \n[Adafruit Soft Flexible Wire NeoPixel Strand - 50 NeoPixels](https://www.adafruit.com/product/4560)\narranged into a spiral on the wall, driven by a Raspberry Pi.\n\n![LEDs showing rainbow wheel](imgs/img_20200817_111438.jpg)\n\nThe driver runs a web server on port 80, giving a menu\nof available modes on the main index page. Modes can be\nswitched from a browser by clicking on the appropriate\nlinks, or by making a HTTP GET to the appropriate mode\nURL using your favourite URL getter (such as curl).\n\nHardware assembly\n=================\n\nThe data-in of the LED strip should be attached to pin 18 of\nthe Raspberry Pi.\n\nThe power pins should be connected to something that can\ndrive enough current. My experience is that the strip can\nbe connected to the 5v output pin of the Raspberry Pi GPIO\nheader, if the Pi is powered by a strong enough power\nsupply.\n\nThe spiral should be laid out on the wall with LED 0 (the one\nclosest to the Pi) at the bottom on the outside of the spiral\nwith LED 49 (at the far end of the strip) being right in the\ncentre of the spiral.\n\nThe driver code needs to know how many LEDs are in each loop of the\nspiral, and that is configured in the 'bottoms' variable\ndefined in main.py\n\nInstalling the code\n===================\n\nOn a clean Raspberry Pi OS install:\n\n```\nsudo apt-get update\nsudo apt-get install python3-pip\nsudo pip3 install -r requirements.txt\n```\n\nRunning the code\n================\nRun:\n\n```\nsudo FLASK_APP=main.py flask run -h 0 -p 80\n\n```\n\nYou should see the default pattern on the spiral. Point your\nbrowser at your Pi's IP address, and you should get a page\nto change modes.\n\nFeedback\n========\nFeedback is welcome, whether this inspired you to build your\nown LED stuff or whether you tried this and ran into problems.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenclifford%2Fswirlclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenclifford%2Fswirlclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenclifford%2Fswirlclock/lists"}