{"id":25470075,"url":"https://github.com/thinkphp/rotate","last_synced_at":"2025-10-25T20:16:31.565Z","repository":{"id":1083910,"uuid":"931569","full_name":"thinkphp/rotate","owner":"thinkphp","description":"A simple function JavaScript that allows you to rotate images by the given angle (radians or degrees).","archived":false,"fork":false,"pushed_at":"2010-09-22T19:49:49.000Z","size":103,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T14:54:28.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://thinkphp.ro/apps/js-hacks/rotate/","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/thinkphp.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":"2010-09-22T19:32:14.000Z","updated_at":"2013-10-18T02:20:47.000Z","dependencies_parsed_at":"2022-07-06T06:02:37.939Z","dependency_job_id":null,"html_url":"https://github.com/thinkphp/rotate","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/thinkphp%2Frotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Frotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Frotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Frotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/rotate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239437139,"owners_count":19638441,"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":"2025-02-18T08:31:51.415Z","updated_at":"2025-10-25T20:16:26.530Z","avatar_url":"https://github.com/thinkphp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rotate\n======\n\n   A simple function JavaScript that allows you to rotate images.\n\n\nSyntax\n======\n\n      1.Rotate(HTMLImageElement image, String angle)\n      @param image (HTMLImageElement) an image element.\n      @param angle (String) angle either radians or degrees ('45deg' or '40rad') \n     \n\n      2.Rotate(HTMLImageElement image, Number angle)\n      @param image (HTMLImageElement) an image element.\n      @param angle (Number) angle in radians. \n      \n\n\nUsage\n=====\n\n\n      Rotate(document.getElementById('rotate_me'),'45deg');\n      Rotate(document.getElementById('rotate_me'),Math.PI/2);\n      Rotate(document.getElementById('rotate_me'),Math.PI/2);\n\nBrowser Support\n===============\n\n     Firefox 1.5+\n     IE 6+\n     Opera 9.5+\n     Google Chrome\n     Safari 2+","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Frotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Frotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Frotate/lists"}