{"id":18299906,"url":"https://github.com/gamestdio/three-text2d","last_synced_at":"2025-04-04T21:11:44.997Z","repository":{"id":45427221,"uuid":"49081067","full_name":"gamestdio/three-text2d","owner":"gamestdio","description":"Render texture from canvas into THREE's Mesh or Sprite.","archived":false,"fork":false,"pushed_at":"2021-12-14T14:27:16.000Z","size":494,"stargazers_count":253,"open_issues_count":13,"forks_count":66,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-28T20:09:20.644Z","etag":null,"topics":["threejs"],"latest_commit_sha":null,"homepage":"http://gamestdio.github.io/three-text2d/","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/gamestdio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-01-05T17:22:06.000Z","updated_at":"2025-03-26T13:43:04.000Z","dependencies_parsed_at":"2022-08-04T15:15:42.747Z","dependency_job_id":null,"html_url":"https://github.com/gamestdio/three-text2d","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamestdio%2Fthree-text2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamestdio%2Fthree-text2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamestdio%2Fthree-text2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamestdio%2Fthree-text2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamestdio","download_url":"https://codeload.github.com/gamestdio/three-text2d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249537,"owners_count":20908212,"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":["threejs"],"created_at":"2024-11-05T15:10:40.556Z","updated_at":"2025-04-04T21:11:44.961Z","avatar_url":"https://github.com/gamestdio.png","language":"TypeScript","readme":"\n\nthree-text2d\n===\n\nRender texture from canvas into THREE's Mesh or Sprite.\n\nUsage\n---\n\n**Mesh**\n\n```javascript\nimport { MeshText2D, textAlign } from 'three-text2d'\n\nvar text = new MeshText2D(\"RIGHT\", { align: textAlign.right, font: '30px Arial', fillStyle: '#000000', antialias: true })\nscene.add(text)\n```\n\n**Sprite**\n\n```javascript\nimport { SpriteText2D, textAlign } from 'three-text2d'\n\nvar sprite = new SpriteText2D(\"SPRITE\", { align: textAlign.center,  font: '40px Arial', fillStyle: '#000000' , antialias: false })\nscene.add(sprite)\n```\n\nLicense\n---\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamestdio%2Fthree-text2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamestdio%2Fthree-text2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamestdio%2Fthree-text2d/lists"}