Sunday, August 17, 2014

Victor Vasarely Meets Tina Turtle

I've been playing around with Python Turtle, with the intention of adding finished scripts to  A few months ago, I was successful in porting Victor Vasarely's "Plastic Alphabet" in Python and Tk.  So, as soon as I learned about, I've been trying to port the script into Python and Turtle.

After using brute force to get some boxes drawn in Turtle.  This weekend I was able to finish the algorithm to get Turtle to draw columns and rows of boxes.  Needless to say, but the power of trinkets is that you can develop Turtle using your preferred Python IDE, and then simply cut and paste the script into a trinket. Enjoy!

Thursday, August 7, 2014

Kahn Academy Interactive Javascript

At the same time I'm checking out, I'm trying to brush up on my Javascript. Plus, I wanted to give Kahn Academy's programming courses a trial run. the interactive Javascript window is pretty awesome.  It's a actually a very intelligent IDE as well, which is nice!

Spin-off of "Intro to Coloring"

Made using: Khan Academy Computer Science.

P.S. Unfortunately, I haven't figured out how to scale the embed script, so it fits here.  But, with a wider template, it should work fine. P.S.S I did find out how to turn off the editor, so you get the final output.

Another example

One of the many uses of is engagement and measurement. For example, If you're teaching a class on Python, you could simply paste a trinket into your blog or website, and then, with each session opened by a client, the visitor has their own interactive Python environment.

When participants have finished the assignment, they can share the result on Facebook, Twitter, Google Plus, Linked In, Reddit, or Hacker News.  Pretty cool, don't you think?  This portable Python environment really changes everything.  It's a whole new way of engaging with the user group.