zdog icon indicating copy to clipboard operation
zdog copied to clipboard

Adding support for textures

Open sunnygoyal opened this issue 4 years ago • 4 comments

Adding texture support for flat surfaces (rects, boxes, front/back face of cylinder...) Textures can be images or linear/radial gradients

https://github.com/metafizzy/zdog/issues/38

sunnygoyal avatar Dec 12 '20 09:12 sunnygoyal

This is interesting, I like it.. I'm not sure if anybody is merging PRs anymore tho..

Here's there rendered version of the demo if anybody wants to have a quick peek

https://htmlpreview.github.io/?https://github.com/metafizzy/zdog/blob/0a91d78df8b5653d2c5d36793b22b7bc10c7f7f0/demos/textures/index.html

webocs avatar Dec 13 '20 22:12 webocs

Opps, forgot to host the repo. Demo link: http://sunnygoyal.com/zdog/demos/textures/ in case the above link is not working

sunnygoyal avatar Dec 14 '20 18:12 sunnygoyal

Woooh, awesome. Thanks for implementing this :)

turbo avatar Dec 19 '20 01:12 turbo

Excellent work! Thanks so much for this work here. I'll be evaluating this when I revisit Zdog in the future.

desandro avatar Dec 31 '20 18:12 desandro