{"id":16126798,"url":"https://github.com/mikolalysenko/write-vrml","last_synced_at":"2025-04-15T01:44:05.600Z","repository":{"id":57399830,"uuid":"13103477","full_name":"mikolalysenko/write-vrml","owner":"mikolalysenko","description":"Serializes a mesh to a VRML stream","archived":false,"fork":false,"pushed_at":"2013-10-18T03:24:04.000Z","size":120,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T16:53:42.357Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikolalysenko.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":"2013-09-25T19:38:29.000Z","updated_at":"2014-08-22T16:21:40.000Z","dependencies_parsed_at":"2022-09-26T17:01:17.607Z","dependency_job_id":null,"html_url":"https://github.com/mikolalysenko/write-vrml","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/mikolalysenko%2Fwrite-vrml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fwrite-vrml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fwrite-vrml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fwrite-vrml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikolalysenko","download_url":"https://codeload.github.com/mikolalysenko/write-vrml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991526,"owners_count":21194893,"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-10-09T21:40:26.458Z","updated_at":"2025-04-15T01:44:05.578Z","avatar_url":"https://github.com/mikolalysenko.png","language":"JavaScript","readme":"write-vrml\n==========\nA limited VRML serialization module.  This should be sufficient to export static 3D models to VRML format.  Works both in node.js and in browserify.\n\n## Install\n\n    npm install write-vrml\n\n## Example\n\n```javascript\nvar writeVRML = require(\"write-vrml\")\n\nwriteVRML({\n  cells: [ [0, 1, 2] ],\n  positions: [ [0, 0, 0], [1, 0, 0], [0, 1, 0] ]\n}).pipe(process.stdout)\n```\n\n## API\n\n### `require(\"write-vrml\")(model)`\nWrites a 3D model to a VRML file.  `model` is an object with the following properties:\n\n* `cells` a list of indexed cells representing the facets of the model\n* `positions` is a list of vertex positions for the model\n* `vertexUVs` is an optional list of per-vertex texture coordinates\n* `faceUVs` is an optional list of per-face texture coordinates\n* `vertexColors` is an optional list of per-vertex color values\n* `faceColors` is an optional list of per-face color values\n* `textureURL` is an optional URL for texture data associated to the model\n\n**Returns** A readable stream encoding the mesh data as a VRML (.WRL) type file\n\n## Credits\n(c) 2013 Mikola Lysenko. MIT License","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fwrite-vrml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikolalysenko%2Fwrite-vrml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fwrite-vrml/lists"}