{"id":13672900,"url":"https://github.com/WoodNeck/css-camera","last_synced_at":"2025-04-28T04:30:40.353Z","repository":{"id":59414706,"uuid":"179420698","full_name":"WoodNeck/css-camera","owner":"WoodNeck","description":"New way to see a web page with CSS3 3D transform","archived":false,"fork":false,"pushed_at":"2021-12-20T06:11:57.000Z","size":10708,"stargazers_count":210,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T20:06:44.693Z","etag":null,"topics":["3d","camera","css-camera","css3","graphics"],"latest_commit_sha":null,"homepage":"https://woodneck.github.io/css-camera/","language":"TypeScript","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/WoodNeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-04T04:21:12.000Z","updated_at":"2025-03-08T16:37:33.000Z","dependencies_parsed_at":"2022-09-16T19:50:22.680Z","dependency_job_id":null,"html_url":"https://github.com/WoodNeck/css-camera","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/WoodNeck%2Fcss-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodNeck%2Fcss-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodNeck%2Fcss-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodNeck%2Fcss-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WoodNeck","download_url":"https://codeload.github.com/WoodNeck/css-camera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251251801,"owners_count":21559662,"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":["3d","camera","css-camera","css3","graphics"],"created_at":"2024-08-02T09:01:55.869Z","updated_at":"2025-04-28T04:30:35.968Z","avatar_url":"https://github.com/WoodNeck.png","language":"TypeScript","readme":"# 📷 CSS-CAMERA\n\n\u003c!-- BADGES --\u003e\n![npm](https://img.shields.io/npm/v/css-camera?style=for-the-badge)\n![GitHub](https://img.shields.io/github/license/woodneck/css-camera?style=for-the-badge)\n\n\u003cp\u003e\n  \u003ch4\u003e\u003ca href=\"https://woodneck.github.io/css-camera\"\u003e🎥 Demo\u003c/a\u003e · \u003ca href=\"https://woodneck.github.io/css-camera/release/latest/docs/index.html\"\u003e📄 Document\u003c/a\u003e\u003c/h2\u003e\n\u003c/p\u003e\n\n\u003cb\u003eAdd depth to your web page with CSS3 3D transform.\u003c/b\u003e\n\n\u003e This project is mostly inspired by [Keith Clark's work](https://keithclark.co.uk/labs/css-fps/).\n\n## ✨ Features\n- Movable, and Rotatable camera for your scene.\n- Can move to in front of any element in your scene, whether it has been rotated or translated.\n\n## ⚙️ Installation\n```sh\nnpm i css-camera\n# or\nyarn add css-camera\n```\n\n## 🏃 Quick Start\n```js\n// Prerequisite:\n// Create your scene as you like\nconst card = document.querySelector(\"#card\");\nconst cardButton = document.querySelector(\"#card-button\");\n\n// First, make camera\nconst camera = new CSSCamera(\"#space\");\n\n// Call its method, then update it!\ncardButton.onclick = () =\u003e {\n  camera.focus(card);\n  camera.update(2000);\n}\n```\nCheck more methods on the \u003ca href=\"https://woodneck.github.io/css-camera/release/latest/docs/index.html\"\u003e📄API Documentation\u003c/a\u003e page\u003c/h2\u003e\n\n## 📜 License\n[MIT](https://github.com/WoodNeck/css-camera/blob/master/LICENSE)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWoodNeck%2Fcss-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWoodNeck%2Fcss-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWoodNeck%2Fcss-camera/lists"}