{"id":13403510,"url":"https://github.com/captainwz/svg-3d-builder","last_synced_at":"2025-03-14T08:31:54.721Z","repository":{"id":41225866,"uuid":"143170534","full_name":"captainwz/svg-3d-builder","owner":"captainwz","description":"an elaborate tool to create 3d model with svg","archived":false,"fork":false,"pushed_at":"2018-12-31T03:08:27.000Z","size":13136,"stargazers_count":864,"open_issues_count":0,"forks_count":58,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-07-31T19:41:36.093Z","etag":null,"topics":["3d","3d-model","svg"],"latest_commit_sha":null,"homepage":"https://libcafe.com/3d/index.html","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/captainwz.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":"2018-08-01T14:54:15.000Z","updated_at":"2024-07-20T07:13:50.000Z","dependencies_parsed_at":"2022-09-04T01:11:03.896Z","dependency_job_id":null,"html_url":"https://github.com/captainwz/svg-3d-builder","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/captainwz%2Fsvg-3d-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainwz%2Fsvg-3d-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainwz%2Fsvg-3d-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainwz%2Fsvg-3d-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainwz","download_url":"https://codeload.github.com/captainwz/svg-3d-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243547449,"owners_count":20308705,"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","3d-model","svg"],"created_at":"2024-07-30T19:01:30.876Z","updated_at":"2025-03-14T08:31:54.101Z","avatar_url":"https://github.com/captainwz.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# SVG 3D Builder\n\n[![npm version](https://img.shields.io/npm/v/svg-3d-builder.svg?style=flat-square)](https://www.npmjs.com/package/svg-3d-builder)\n\n\u003cdiv align=left\u003e\n    \u003cimg src=\"https://media.giphy.com/media/5zvQqld4fwqoh3m3Nd/giphy.gif\" height=\"200\" style=\"display:inline-block\" align=\"center\"/\u003e\n    \u003cimg src=\"https://media.giphy.com/media/1oFtOzT1JQQObvCDqC/giphy.gif\" height=\"200\" style=\"display:inline-block\" align=\"center\"/\u003e\n    \u003cimg src=\"https://media.giphy.com/media/LYuSClXbN76s0rQdIJ/giphy.gif\" height=\"200\" style=\"display:inline-block\" align=\"center\"/\u003e\n\u003c/div\u003e\n\nThis framework aims at creating 3d models with **SVG** and to provide a concise API. It is purely developed with concepts of two-dimensions.\nOne of its essential implementations is **Bezier** in both curve and surface. \nIt is one thing to describe them with mathematic equations, but another thing to illustrate them with computer graphics.\n\nSee [online exhibition](https://libcafe.com/3d/index.html) developed by the framework and its [source code](https://github.com/captainwz/svg-3d-builder/tree/master/demo/exhibition).\n\n## Start\nYou can either start it in [traditional way](https://github.com/captainwz/svg-3d-builder/blob/master/dist/svg-3d-builder.min.js)\n```html\n\u003cscript src=\"./svg-3d-builder.min.js\"\u003e\u003c/script\u003e\n```\nOr embark your development with `ES6`\n```shell\nnpm install --save svg-3d-builder\n```\n```javascript\nimport Builder from 'svg-3d-builder';\n```\nMake sure there is an svg element described in your document\n```html\n\u003chtml\u003e\n    \u003chead\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003csvg id=\"graph\" width=\"500\" height=\"500\"\u003e            \n        \u003c/svg\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\nAnd see your simplest work by adding these codes\n```javascript\nBuilder\n.select('#graph')\n.drawLine('M 0 0 0 l 100 0 0')\n.action();\n```\n\n**Of course you can see [code examples](https://github.com/captainwz/svg-3d-builder/tree/master/code_examples.md) before building sophisticated works by yourself.**\n\n\n## API\nYou also need to look up the [API document](https://github.com/captainwz/svg-3d-builder/tree/master/api.md).\n\n## Lisence\nApache\n\n## Other\n[postscript](https://libcafe.com/2018/08/25/3d-builder/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainwz%2Fsvg-3d-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainwz%2Fsvg-3d-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainwz%2Fsvg-3d-builder/lists"}