ScriptSketch

Image 23

ScriptSketch is a programming environment where you can run scripts, explore 2D graphics, and learn programming.
The built-in script language “KG-Script” (codename) is a new interpreted language designed by Keiji. It is very similar to JavaScript, but has more object- and class-oriented extensions.

See the demo here.

About ScriptSketch

The ScriptSketch project started as a small project to design a new computer scripting language for the StitchSketch application. The original goal was simply to provide a macro, or scripting, capability for it. However, while designing the language, I came across several interesting projects and was especially inspired by Processing.js.
Naturally, that made me think about making my new language more than just a scripting language: it could become a programming environment where users can learn and explore computer language and computer graphics.
I also have a 5-year-old son and wanted to teach him programming someday, so I was looking for an environment to do that. Why not create my own from this project?
Combining all these thoughts, I decided to start a project to create an application to achieve that goal.

So, here it is!

There are a couple of goals I had in my mind for this project:

  • Create a new computer language that is:

    • Easier to read and descriptive, like Objective-C

    • Interpreted, so it runs without compile lag

    • Object-oriented, with the ability to define classes

    • Object-oriented, with the ability to define prototypes

    • Based on JavaScript and its strengths

    • Able to use the power of HTML5, CSS, and Canvas

    • Similar to C, C++, and JavaScript in syntax and notation

  • Provide an animation and graphics environment with immediate code-and-run feedback.

  • Package it as a JavaScript module that can be embedded in an application as an application script.

See the demo here.