{"action":"opened","issue":{"url":"https://api.github.com/repos/tparisi/glam/issues/36","labels_url":"https://api.github.com/repos/tparisi/glam/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tparisi/glam/issues/36/comments","events_url":"https://api.github.com/repos/tparisi/glam/issues/36/events","html_url":"https://github.com/tparisi/glam/issues/36","id":53326036,"number":36,"title":"Data URI's and/or Dynamic Textures","user":{"login":"psema4","id":130183,"avatar_url":"https://avatars.githubusercontent.com/u/130183?v=3","gravatar_id":"","url":"https://api.github.com/users/psema4","html_url":"https://github.com/psema4","followers_url":"https://api.github.com/users/psema4/followers","following_url":"https://api.github.com/users/psema4/following{/other_user}","gists_url":"https://api.github.com/users/psema4/gists{/gist_id}","starred_url":"https://api.github.com/users/psema4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psema4/subscriptions","organizations_url":"https://api.github.com/users/psema4/orgs","repos_url":"https://api.github.com/users/psema4/repos","events_url":"https://api.github.com/users/psema4/events{/privacy}","received_events_url":"https://api.github.com/users/psema4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-04T05:33:39Z","updated_at":"2015-01-04T05:33:39Z","closed_at":null,"body":"Is it possible to use Data URI's (or similar) to generate textures from canvas elements?  If yes, would it be possible to see some sample code showing how to do this?\r\n\r\nI'm working on a (proof-of-concept) glam-powered editor at http://projects.psema4.com/glam/3de/\r\n\r\n![3DE Screenshot](http://projects.psema4.com/glam/3de-screenshot.png)\r\n\r\nI tried to generate a grid texture for my ground plane but wasn't able to get it working (Fwiw, it's still early days for glam & I - less than 12 hours have gone into my project so far. A re-write will be coming soon.)\r\n\r\nAnother (of several) use cases that I'd like to look at would embed HTML content via https://github.com/cburgmer/rasterizeHTML.js"}}