{"id":20762018,"url":"https://github.com/donkeyclip/motorcortex-tv","last_synced_at":"2025-04-30T06:28:42.754Z","repository":{"id":38122871,"uuid":"312683256","full_name":"donkeyclip/motorcortex-tv","owner":"donkeyclip","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T17:58:59.000Z","size":21949,"stargazers_count":0,"open_issues_count":25,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-18T08:10:24.702Z","etag":null,"topics":["motorcortex","motorcortex-plugin","tv"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donkeyclip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2020-11-13T21:04:04.000Z","updated_at":"2022-04-01T08:41:02.000Z","dependencies_parsed_at":"2024-02-14T13:39:36.516Z","dependency_job_id":"f43192ac-248f-43b1-84e2-38bd477e983f","html_url":"https://github.com/donkeyclip/motorcortex-tv","commit_stats":{"total_commits":444,"total_committers":13,"mean_commits":34.15384615384615,"dds":0.3716216216216216,"last_synced_commit":"2924cb5e1dfd47269cfa38139ad8bb2039a851d5"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-tv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-tv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-tv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-tv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkeyclip","download_url":"https://codeload.github.com/donkeyclip/motorcortex-tv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251653598,"owners_count":21622158,"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":["motorcortex","motorcortex-plugin","tv"],"created_at":"2024-11-17T10:28:40.652Z","updated_at":"2025-04-30T06:28:42.704Z","avatar_url":"https://github.com/donkeyclip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MotorCortex-Tv\n\n**Table of Contents**\n\n- [MotorCortex-Tv](#motorcortex-tv)\n  - [Demo](#demo)\n- [Intro / Features](#intro--features)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Importing and Loading](#importing-and-loading)\n- [Creating Incidents](#creating-incidents)\n  - [TVNoise](#tvnoise)\n  - [ImageGlitch](#imageglitch)\n- [Adding Incidents in your clip](#adding-incidents-in-your-clip)\n- [Contributing](#contributing)\n- [License](#license)\n- [Sponsored by](#sponsored-by)\n\n## Demo\n\n[Check it out here](https://donkeyclip.github.io/motorcortex-tv/demo/index.html)\n\n# Intro / Features\nUsing MotorCortex-Τv your clip will look like a TV without signal. \n\nThis Plugin exposes two incidents:\n- TVNoise\n- ImageGlitch\n# Getting Started\n\n## Installation\n\n```bash\n$ npm install --save @donkeyclip/motorcortex-tv\n# OR\n$ yarn add @donkeyclip/motorcortex-tv\n```\n\n## Importing and Loading\n\n```javascript\nimport { loadPlugin } from \"@donkeyclip/motorcortex\";\nimport tvDefinition from \"@donkeyclip/motorcortex-tv\";\nconst TV = loadPlugin(tvDefinition);\n```\n\n# Creating Incidents\n\n## TVNoise\n\n```javascript\nconst tvNoise = new TV.TVNoise(\n  {\n    width: 800,\n    height: 600,\n    sound: true,\n  },\n  {\n    duration: 6000,\n    selector: \"#container\",\n  }\n);\n```\n\n### TVNoise Attrs\n\n| Name     |            Are             | Values |\n| -------- | :------------------------: | -----: |\n| width    |    width of the canvas     |    num |\n| height   |    height of the canvas    |    num |\n| duration | the duration of the effect |    num |\n| sound    | iclude noise sound or not  |   bool |\n\n## imageGlitch\n\n```javascript\nconst imageGlitch = new TV.ImageGlitch(\n  {\n    imgUrl:\n      \"https://images.hdqwalls.com/wallpapers/minimal-sunset-landscape-4k-w5.jpg\",\n  },\n  {\n    selector: \"#glitchContainer\",\n    containerParams: {\n      width: \"800px\",\n      height: \"600px\",\n    },\n  }\n);\n```\n\n### ImageGlitch Attrs\n\n| Name   |                 Are                  | Values |\n| ------ | :----------------------------------: | -----: |\n| imgUrl | the image url to apply the effect on |    url |\n\n# Adding Incidents in your clip\n\n```javascript\nclipName.addIncident(incidentName,startTime);\n```\n\n# Contributing \n\nIn general, we follow the \"fork-and-pull\" Git workflow, so if you want to submit patches and additions you should follow the next steps:\n1.\t**Fork** the repo on GitHub\n2.\t**Clone** the project to your own machine\n3.\t**Commit** changes to your own branch\n4.\t**Push** your work back up to your fork\n5.\tSubmit a **Pull request** so that we can review your changes\n\n# License\n\n[MIT License](https://opensource.org/licenses/MIT)\n\n# Sponsored by\n[\u003cimg src=\"https://presskit.donkeyclip.com/logos/donkey%20clip%20logo.svg\" width=250\u003e\u003c/img\u003e](https://donkeyclip.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-tv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkeyclip%2Fmotorcortex-tv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-tv/lists"}