{"id":17722787,"url":"https://github.com/bramp/snow.js","last_synced_at":"2025-07-11T06:41:01.450Z","repository":{"id":137253503,"uuid":"336952973","full_name":"bramp/snow.js","owner":"bramp","description":"A simple snow demo (using device orientation)","archived":false,"fork":false,"pushed_at":"2021-02-08T03:53:39.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-30T22:04:16.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bramp.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},"funding":{"github":"bramp","buy_me_a_coffee":"bramp"}},"created_at":"2021-02-08T03:50:52.000Z","updated_at":"2024-04-18T04:22:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf4b8024-7c58-4cb5-b730-2cc7240d0e97","html_url":"https://github.com/bramp/snow.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramp/snow.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fsnow.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fsnow.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fsnow.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fsnow.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramp","download_url":"https://codeload.github.com/bramp/snow.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fsnow.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264750136,"owners_count":23658329,"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":[],"created_at":"2024-10-25T15:39:22.927Z","updated_at":"2025-07-11T06:41:01.413Z","avatar_url":"https://github.com/bramp.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bramp","https://buymeacoffee.com/bramp"],"categories":[],"sub_categories":[],"readme":"# Development\n\nThe DeviceMotionEvent APIs only work on SSL sites, so a local HTTPS server is needed for testing. [This article demostrates how to setup a local HTTPS server for testing](https://blog.bramp.net/post/2020/12/27/local-https-server-for-development/).\n\nalias https=\"http-server -c-1 -S \\\n  -C ~/.secrets/live/mac.bramp.net/fullchain.pem \\\n  -K ~/.secrets/live/mac.bramp.net/privkey.pem\"\n\nmac.bramp.net\n\n\nTODO\n* See if I can see DeviceMotionEvent.acceleration\n* Move the full screen button into the middle, and hide on desktops.\n\nUseful links\n\n* https://developers.google.com/web/fundamentals/native-hardware/device-orientation\n* https://github.com/sindresorhus/screenfull.js - Fullscreen wrapper\n* https://developer.mozilla.org/en-US/docs/Web/API/Detecting_device_orientation\n* https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent\n* https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/acceleration\n* http://www.chrobotics.com/library/understanding-euler-angles\n* http://glmatrix.net/docs/module-mat4.html\n* https://sensor-js.xyz/demo.html\n* https://github.com/adtile/Full-Tilt/wiki/Full-Tilt-API-Documentation\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fsnow.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramp%2Fsnow.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fsnow.js/lists"}