New Kojo Release (2.1, 090414)

I’m pleased to announce a new release of Kojo. Highlights include:

  • A change in the way that programs are run via the Run button (or the Ctrl+Enter keyboard shortcut). Earlier, the Scala interpreter was used to run programs. Now, the Scala compiler and a custom program launcher is used to run them. This has been done to make the repeated running of larger programs (like games) faster.
    The biggest consequence of this change is that no state (vals, vars, function definitions, etc.) is retained between program runs.
    If you run programs in worksheet mode (via the Run as Worksheet button or the Shift+Enter keyboard shortcut), the scala interpreter is still used under the covers. So, if you want to retain state across runs for certain programs, use the worksheet mode.
    If this change impacts you negatively, please let me know.
  • More accurate arcs via the arc(radius, angle) and turn(angle, turnRadius) turtle commands.
  • Support for radial color gradients and more powerful linear color gradients.
  • Picture effects (based on JH Labs image filters). The currently supported effects are: blur, fade, lights, noise, and weave. There is also a (Java reflection based) effect which allows the use of any of the JH Labs image filters.
  • A new Showcase menu item with samples that demonstrate many of the new features (gradients, effects, etc.). Some of these samples are shown below:

mandelbrot fern spiral inner-eye

As always, the new version is available from the Kojo Download Page.


This entry was posted in News, Release. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s