{"id":18855996,"url":"https://github.com/rickycodes/kaleidos","last_synced_at":"2025-08-11T14:48:49.217Z","repository":{"id":57288180,"uuid":"52295655","full_name":"rickycodes/kaleidos","owner":"rickycodes","description":":cyclone: \u003ccanvas\u003e kaleidoscope node module https://rickycodes.github.io/kaleidos/","archived":false,"fork":false,"pushed_at":"2018-04-28T08:07:55.000Z","size":115,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T22:44:44.275Z","etag":null,"topics":["canvas","javascript","kaleidos"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rickycodes.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}},"created_at":"2016-02-22T18:32:10.000Z","updated_at":"2022-03-06T03:50:50.000Z","dependencies_parsed_at":"2022-09-18T18:17:09.793Z","dependency_job_id":null,"html_url":"https://github.com/rickycodes/kaleidos","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rickycodes/kaleidos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fkaleidos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fkaleidos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fkaleidos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fkaleidos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickycodes","download_url":"https://codeload.github.com/rickycodes/kaleidos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fkaleidos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269906354,"owners_count":24494329,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["canvas","javascript","kaleidos"],"created_at":"2024-11-08T03:57:18.349Z","updated_at":"2025-08-11T14:48:49.127Z","avatar_url":"https://github.com/rickycodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Kaleidos  \n[![Build Status](https://api.travis-ci.org/rickycodes/kaleidos.svg?branch=master)](https://travis-ci.org/rickycodes/kaleidos/) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![npm-version](https://img.shields.io/npm/v/kaleidos.svg?style=flat)](https://www.npmjs.com/package/kaleidos)  \n`\u003ccanvas\u003e` kaleidoscope node module for use with browserify, webpack, etc.\n\n#### Usage:\n##### Install:\n`npm i kaleidos --save`\n\n##### Require the module:\n```js\nconst Kaleidos = require('kaleidos')\n```\n\n##### Instantiate with values:\n```js\n// create image\nconst image = new Image()\nimage.src = 'http://i.imgur.com/YaZJZac.jpg'\n\n// create a canvas\nconst canvas = document.createElement('canvas')\n\n// instantiate\nconst kaleidos = new Kaleidos(canvas, {\n  src: image // pass above image as source\n})\n```\n\n##### Append to DOM and initialize on image load:\n```js\nimage.addEventListener('load', function () {\n  document.body.appendChild(kaleidos.canvas)\n  kaleidos.initialize()\n})\n```\n\n##### Result:\n![kaleidos](http://i.imgur.com/n4O7JXn.jpg)\n\n*Check the \u003ca href='https://github.com/rickycodes/kaleidos/tree/master/examples'\u003e`/examples`\u003c/a\u003e  \n\u003ca target='_blank' href='https://rickycodes.github.io/kaleidos/'\u003eTry them out\u003c/a\u003e*\n\n#### TODO:\n~~Add tests~~  \nAdd _more_ tests  \nAdd more examples  \n~~Make examples better on mobile~~  \n~~Fix webcam example in Firefox~~  \n~~Update src to be image _or_ video~~  \n~~Cleanup~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Fkaleidos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickycodes%2Fkaleidos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Fkaleidos/lists"}