{"id":15146704,"url":"https://github.com/alfa256/aframe-video-illumination-component","last_synced_at":"2025-10-24T01:31:04.011Z","repository":{"id":57174325,"uuid":"126756938","full_name":"alfa256/aframe-video-illumination-component","owner":"alfa256","description":"Simulates light coming out of a-video.","archived":false,"fork":false,"pushed_at":"2018-03-26T03:29:05.000Z","size":10078,"stargazers_count":54,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-30T22:17:16.055Z","etag":null,"topics":["aframe","aframevr","javascript","video","vr","webvr","webxr"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfa256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-26T01:26:05.000Z","updated_at":"2024-06-22T10:24:50.000Z","dependencies_parsed_at":"2022-08-28T21:00:24.203Z","dependency_job_id":null,"html_url":"https://github.com/alfa256/aframe-video-illumination-component","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/alfa256%2Faframe-video-illumination-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfa256%2Faframe-video-illumination-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfa256%2Faframe-video-illumination-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfa256%2Faframe-video-illumination-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfa256","download_url":"https://codeload.github.com/alfa256/aframe-video-illumination-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237901410,"owners_count":19384384,"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":["aframe","aframevr","javascript","video","vr","webvr","webxr"],"created_at":"2024-09-26T12:03:59.327Z","updated_at":"2025-10-24T01:30:58.937Z","avatar_url":"https://github.com/alfa256.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## aframe-video-illumination-component\n\n[![Version](http://img.shields.io/npm/v/aframe-video-illumination-component.svg?style=flat-square)](https://npmjs.org/package/aframe-video-illumination-component)\n[![License](http://img.shields.io/npm/l/aframe-video-illumination-component.svg?style=flat-square)](https://npmjs.org/package/aframe-video-illumination-component)\n\nSimulates light coming out of a-video.\n\nCreates one light per quadrant and tries to simulate the emissive light from a screen or movie projection.\nHas an acceptable performance impact and low flicker, the result is quite realistic most of the time.\n\nIf you require another license to use this component in your closed source project please get in touch.\n\n[DEMO](https://alfa256.github.io/aframe-video-illumination-component/examples/basic/index.html)\n\n![effect](/examples/basic/demo.gif)\n\nThe ready player one trailer is used for demonstration purposes only and belongs to Warner Bros. Entertainment Inc.\n\nFor [A-Frame](https://aframe.io).\n\n### API\n\n| Property | Description       | Default Value |\n| -------- | ----------------- | ------------- |\n| intensity| lights intensity  | 0.2           |\n| distance | falloff distance  | 10            |\n| frametime| ms between updates| 41            |\n\n\n\n### Installation\n\n#### Browser\n\nInstall and use by directly including the [browser files](dist):\n\n```html\n\u003chead\u003e\n  \u003ctitle\u003eMy A-Frame Scene\u003c/title\u003e\n  \u003cscript src=\"https://aframe.io/releases/0.8.0/aframe.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://unpkg.com/aframe-video-illumination-component/dist/aframe-video-illumination-component.min.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e\n  \u003ca-scene\u003e\n  \u003ca-assets\u003e\n    \u003cvideo src=\"foo.mp4\" id=\"somevideo\" autoplay=\"true\"\u003e\u003c/video\u003e\n  \u003c/a-assets\u003e\n    \u003ca-video width=\"6\" height=\"4\" src=\"#somevideo\" video-illumination=\"foo: bar\"\u003e\u003c/a-video\u003e\n  \u003c/a-scene\u003e\n\u003c/body\u003e\n```\n\n\u003c!-- If component is accepted to the Registry, uncomment this. --\u003e\n\u003c!--\nOr with [angle](https://npmjs.com/package/angle/), you can install the proper\nversion of the component straight into your HTML file, respective to your\nversion of A-Frame:\n\n```sh\nangle install aframe-video-illumination-component\n```\n--\u003e\n\n#### npm\n\nInstall via npm:\n\n```bash\nnpm install aframe-video-illumination-component\n```\n\nThen require and use.\n\n```js\nrequire('aframe');\nrequire('aframe-video-illumination-component');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfa256%2Faframe-video-illumination-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfa256%2Faframe-video-illumination-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfa256%2Faframe-video-illumination-component/lists"}