Character representation of grey scale images<\/a>. You can see you can get very different results just by changing this one parameter.<\/p>\nSumming Up<\/h3>\n
RealityServer 5.1 includes a demo application and command based on the ideas discussed in this article so you can check those out without doing any coding but I’d encourage you to make your own and experiment.<\/p>\n
We’ve covered a lot of ground in this article. Setting up a basic V8 server-side command, performing rendering to canvases, canvas manipulation and ASCII art creation. The technique used here is very simple, there are a lot of more sophisticated ways to generate ASCII art, it’s well worth a search around. There are a lot of techniques used here you can apply to much more useful situations, but you never know when you might want to navigate your 3D scene on your VT100 terminal.<\/p>\n","protected":false},"excerpt":{"rendered":"
RealityServer 5.1 introduced new functionality for working with canvases in V8. In this post I’m going to show you how to do some basic things like resizing and accessing individual canvas pixels. We’ll build a fun little command to render a scene and process the result into a piece of interactive ASCII art. Of course, […]<\/p>\n","protected":false},"author":2,"featured_media":1967,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"spay_email":"","jetpack_publicize_message":"Make ASCII Art in RealityServer and learn about V8 canvases at the same time!","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[15,12,30],"tags":[26,14,27],"jetpack_featured_media_url":"https:\/\/www.migenius.com\/migenius\/wp-content\/uploads\/2017\/12\/ascii_feature.jpg","_links":{"self":[{"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/posts\/1966"}],"collection":[{"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/comments?post=1966"}],"version-history":[{"count":20,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/posts\/1966\/revisions"}],"predecessor-version":[{"id":1998,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/posts\/1966\/revisions\/1998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/media\/1967"}],"wp:attachment":[{"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/media?parent=1966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/categories?post=1966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.migenius.com\/wp-json\/wp\/v2\/tags?post=1966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}