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


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

Comments (6)

  1. You can view all the submissions from the September challenges here:

    social.msdn.microsoft.com/…/challenge-of-the-month-september-2015

  2. anonymouscommenter says:

    I reduced the waiting time to draw Jibba clown, using LD extension and added a white outline around black

    code: XJV658

  3. anonymouscommenter says:

    now futrher speedup by reducing black redundant content 3x (from 27 to 9 kb only)

    JJZ433

  4. anonymouscommenter says:

    TWV350

    now it moves by mouse just like a sprite and zooms by leftmouse click

  5. QWX, great job with this!

Skip to main content