Archive for the ‘Uncategorized’ Category

SnapStudio – a physics drawing app

April 12, 2018

Here’s a fun new app in the browser written in Java with Box2D. I basically took a version of ReportMill and added Box2D support, turning every vector shape you draw into a Box2D shape, so that when you hit the “Preview” button, all the shapes fall with gravity and interact with each other. You can even click and drag a shape to further knock things around.

It’s not particularly useful at the moment – but it’s definitely kind of fun.

SnapStudio

Click the image to run in the browser. Send me a note if you think it’s cool (jeff at reportmill).

Advertisements

SnapKit Builder with improved XML

March 9, 2018

This week I added improvements for the XML viewer in SnapKit UI Builder:

  • Synchronize Editor view selection with XML text selection
  • XML syntax coloring
Builder

New XML features

Click image to visit the launch page.

SnappyBird in 100 lines of code

June 20, 2017

Here’s a simple version of FlappyBird written in 100 lines of Java code in SnapCode with SnapKit and compiled to JavaScript. It’s part of my “summer of code” with my kids – a series of 1-2 page fun apps that we discuss, they type in and debug, then we discuss again. Not the most active style of teaching, but reminiscent of my childhood typing in programs from SoftSide magazine or 101 Basic Computer Games by David H. Ahl.

SnappyBird

Click to Play

Source is available under the source tab in the app or here.

Explode Demo

June 13, 2017

Here’s another silly demo of a simple method to make any view on screen explode into pieces. The actual explode code is only a few dozen lines of code (source). Here’s the demo running in the browser:

Explode

(Click for demo)

Demo was written in SnapCode with SnapKit and compiled to JavaScript with TeaVM.

Java Calculator with Touch Support

June 7, 2017

This is a silly little demo (only a page of code), but it’s fun. It’s also the first demo to show off new touch support I’ve added (for apps compiled to JavaScript).

Calc