Blog Post

Small Basic Blog
1 MIN READ

Small Basic Featured Program - A crazy way to draw a clown

Ed Price's avatar
Ed Price
Former Employee
Feb 12, 2019
First published on MSDN on Oct 10, 2015

Authored by Ed Price


In our September Small Basic Challenges , LitDev offered this challenge:


Graphics Challenge




    • Draw a picture of a clown




Jibba Jabba posted this solution:


Here's my browser solution for Clown drawing: Click me


Import ID: LDD298-1


I scanned the image, parsed the pixel XY's into Line draws then embedded the data.


Great for simple solid color images. Line draw format very slow for non-solid parts, in this case the black outline.


So I trimmed the black down so it would be small enough for browser and put it in a worker thread.




As LitDev mentioned, this method is ingenious. I think LitDev was looking for an original clown, but this is awesome!



Have a Small and Basic life,


- Ninja Ed

Published Feb 12, 2019
Version 1.0
No CommentsBe the first to comment