Archive for March, 2010

Gesture Capture

Thursday, March 11th, 2010

Gesture Capture is a mini-drawing program that allows the user to draw single gestures (shapes, letters etc…) - the program then randomly scales, rotates, tints and translates these gestures repeatedly on the canvas. The user may continue to draw as it does this, the more gesture drawn, the more the program will have to randomly choose from.


Try Gesture Capture:

I created Gesture Capture as an entry for actionsnippet and something made me think of it today. I was playing with it for awhile and decided it was worth mentioning here.

The original post and code can be found here

A New Language (or API for javascript)

Tuesday, March 9th, 2010

I'm thinking about writing an API for javascript that would greatly simplify the creation of simple apps that I frequently find myself remaking.

The first and last test of the night was to double check that bracket syntax works in javascript:

JAVASCRIPT:
  1. <html>
  2.   <head>
  3.   <script language="Javascript">
  4.      var _ = this;
  5.    
  6.     //alert("hi");
  7.     function test(){
  8.        document.write("testing to see if bracket syntax works in javascript... and it does<br/>");
  9.     }
  10.    
  11.     _["test"]();
  12.     test();
  13.    
  14.   </script>
  15.   </head>
  16.   <body>
  17.   </body>
  18. </html>

The result of this script is boring it simply write :

HTML:
  1. testing to see if bracket syntax works in javascript... and it does<br/>
  2. testing to see if bracket syntax works in javascript... and it does<br/>

to the body...

Autobog

Monday, March 8th, 2010

If your into nonsense spam you'll likely appreciate this experiment I created a few months back. It is an automatic blog that posts nonsense by pulling from twitter using keyworks from a dictionary:

The AutoBog