{"id":21994213,"url":"https://github.com/markbrouch/canvasmark","last_synced_at":"2026-04-29T22:02:40.373Z","repository":{"id":16956116,"uuid":"19718381","full_name":"markbrouch/canvasMark","owner":"markbrouch","description":"jQuery plugin for animating a spritesheet on a canvas element","archived":false,"fork":false,"pushed_at":"2014-05-14T21:27:09.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T04:13:19.447Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markbrouch.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":"2014-05-12T22:57:57.000Z","updated_at":"2014-05-14T21:27:09.000Z","dependencies_parsed_at":"2022-07-13T13:51:32.247Z","dependency_job_id":null,"html_url":"https://github.com/markbrouch/canvasMark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markbrouch/canvasMark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2FcanvasMark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2FcanvasMark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2FcanvasMark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2FcanvasMark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markbrouch","download_url":"https://codeload.github.com/markbrouch/canvasMark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2FcanvasMark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-29T21:07:59.127Z","updated_at":"2026-04-29T22:02:40.342Z","avatar_url":"https://github.com/markbrouch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"canvasMark\n==========\n\njQuery plugin for animating a spritesheet on a canvas element\n\nTakes a sprite sheet with frames of equal size positioned left-to-right top-to-bottom order and renders it to a Canvas element.\n\nUsage\n=====\nCall canvasMark on a canvas tag with additional properties:\n\n    \u003ccanvas id=\"myCanvas\"\u003e\u003c/canvas\u003e\n    \n    \u003cscript\u003e\n        $('#myCanvas').canvasMark({\n          spriteSheet: '/path/to/spritesheet.jpg',\n          sprite: {\n            width: 960,\n            height: 540\n          },\n          fps: 30\n        });\n    \u003c/script\u003e\n\n* \u003cb\u003espriteSheet\u003c/b\u003e - The path to the spritesheet resource.\n* \u003cb\u003esprite\u003c/b\u003e - Object containing properties width and height of a single sprite on the spritesheet resource.\n* \u003cb\u003efps\u003c/b\u003e - Frames per second to playback animation. If unspecified, defaults to 60.\n\nCanvas animation can be controlled via triggers on the canvas element:\n\n    \u003cscript\u003e\n        $('canvas').trigger('pause'); // Pauses playback\n        $('canvas').trigger('move', {frames: 5}); // Advances animation 5 frames.\n    \u003c/script\u003e\n\nThe following triggers are available:\n* play\n* pause\n* next\n* prev\n* move, {frames: i}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbrouch%2Fcanvasmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkbrouch%2Fcanvasmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbrouch%2Fcanvasmark/lists"}