{"id":23382198,"url":"https://github.com/code0wl/canvas-slider","last_synced_at":"2025-04-08T08:44:57.886Z","repository":{"id":84209387,"uuid":"46162145","full_name":"code0wl/canvas-slider","owner":"code0wl","description":"A drag slide purely based in canvas","archived":false,"fork":false,"pushed_at":"2016-01-05T05:15:42.000Z","size":51,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T05:41:24.915Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code0wl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-14T05:00:59.000Z","updated_at":"2020-11-23T00:19:06.000Z","dependencies_parsed_at":"2023-03-17T06:31:08.897Z","dependency_job_id":null,"html_url":"https://github.com/code0wl/canvas-slider","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fcanvas-slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fcanvas-slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fcanvas-slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fcanvas-slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code0wl","download_url":"https://codeload.github.com/code0wl/canvas-slider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808185,"owners_count":20999675,"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-12-21T21:18:02.792Z","updated_at":"2025-04-08T08:44:57.870Z","avatar_url":"https://github.com/code0wl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Canvas slider [![Build Status](https://travis-ci.org/code0wl/canvas-slider.svg)](https://travis-ci.org/code0wl/canvas-slider)\n\nA free canvas slider to be used with remote or local data.\nUse when speed is absolutely a necessity! Also works on mobile.\n\n###Features\n- image fetch api\n- image to canvas convertion\n- documented code coverage\n- modern buildstreet\n- Image aspect ratio resize\n- horizontal scroll\n- vertical scroll\n- map events to canvas coordinates\n- linting\n- Mobile (optimised for touch support)\n- !deadzone scrolling\n- no libs, clean ES2015 (w/babel)\n\n###Feature pipeline\n- import image by dragging and dropping in the strip\n- select image to modify\n- add effects to image\n- crop image\n- rotate image\n- force scroll with physics and momentum\n\n###usage\nCheckout the project from this github repo\n    \n    cd canvas-slider\n    npm i \n    gulp serve\n    \n    \n\n###api\n    document.addEventListener('DOMContentLoaded', function() {\n        var dcDogs = new CanvasSlider({\n            element: '.js-slider',\n            direction: 'horizontal',\n            data: '/data/dcdogs.json',\n            dimensions: {\n                width: '600',\n                height: '400'\n            }\n        });\n    });\n    \n    \u003c!-- or... --\u003e\n    \n    document.addEventListener('DOMContentLoaded', function() {\n            var dcDogs = new CanvasSlider({\n                element: '.js-slider',\n                direction: 'vertical',\n                data: '/data/dcdogs.json',\n                dimensions: {\n                    width: '600',\n                    height: '400'\n                }\n            });\n        });\n    \n    \n###additional\nEnter the following for a list of build tasks\n    \n    gulp help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode0wl%2Fcanvas-slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode0wl%2Fcanvas-slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode0wl%2Fcanvas-slider/lists"}