{"id":15975003,"url":"https://github.com/thompson318/birthdaycandles","last_synced_at":"2026-04-10T23:03:33.426Z","repository":{"id":49915568,"uuid":"368988971","full_name":"thompson318/BirthdayCandles","owner":"thompson318","description":"Blow them out","archived":false,"fork":false,"pushed_at":"2022-01-04T20:34:45.000Z","size":51183,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T02:26:47.792Z","etag":null,"topics":["birthday","flask","magpi","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://thompson318.github.io/BirthdayCandles/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thompson318.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2021-05-19T20:07:25.000Z","updated_at":"2022-01-06T13:28:47.000Z","dependencies_parsed_at":"2022-09-22T01:53:07.337Z","dependency_job_id":null,"html_url":"https://github.com/thompson318/BirthdayCandles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompson318%2FBirthdayCandles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompson318%2FBirthdayCandles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompson318%2FBirthdayCandles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompson318%2FBirthdayCandles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thompson318","download_url":"https://codeload.github.com/thompson318/BirthdayCandles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217221,"owners_count":20903009,"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":["birthday","flask","magpi","python","raspberry-pi"],"created_at":"2024-10-07T22:00:53.436Z","updated_at":"2026-04-10T23:03:33.372Z","avatar_url":"https://github.com/thompson318.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Virtual Cake\n============\n\n.. image:: https://github.com/thompson318/BirthdayCandles/raw/main/doc/20210605_152438.jpg\n   :width: 640px\n   :target: https://github.com/thompson318/BirthdayCandles\n   :alt: Cake, Real and Virtual\n\nAuthor: Stephen Thompson\n\nWhen confronted with the need to avoid children blowing out candles on an actual cake, \nthe obvious solution was to build a virtual cake, with on screen candles controlled \nby a set of wind turbines. Here it is, as featured in the `MagPi`_, the future of cake.\n\nThe project utilises a `Raspberry Pi`_, an analogue to digital converter(ADC)\nlike this one \nfrom `BC-Robotics`_, and a set of DC turbines, like these from `Sntieecr`_. \n\nThe software here consists of a Python library (main.py) to query the voltages on the \nADC in response to POST requests from a javascript front end (static/happybirthday.js).\nWe use `Flask`_ to create a web application overlaying various animations to \ngive the appearance that blowing on the wind turbines blows out the on screen candles, \nshown above rendered with `Minecraft`_. \n\n.. figure:: https://github.com/thompson318/BirthdayCandles/raw/main/doc/20210608_111525.jpg\n   :width: 480px\n   :alt: Under the Cake\n   \n   Under the cake, the Raspberry Pi and 16 Channel ADC HAT.\n\n.. _`Raspberry Pi`: https://www.raspberrypi.org/\n.. _`BC-Robotics`: https://bc-robotics.com/tutorials/getting-started-raspberry-pi-16-channel-adc-hat-v2/\n.. _`Sntieecr`: https://www.amazon.co.uk/Sntieecr-Mini-Generator-Motors-3V-12V-DC-Motor-Generator-Educational-Experiment/dp/B0922N8MCR/\n.. _`Flask`: https://flask.palletsprojects.com/en/2.0.x/\n.. _`Minecraft`: https://www.minecraft.net/\n.. _`MagPi`: https://magpi.raspberrypi.com/articles/virtual-minecraft-birthday-cake\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompson318%2Fbirthdaycandles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthompson318%2Fbirthdaycandles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompson318%2Fbirthdaycandles/lists"}