Love2d Magic Shapes

Simon likes to grab at my cellphone. I saw there a few baby touch games on the playstore, like Frankie’s Baby Fireworks! which he enjoys, so I thought it would be fun to make one of my own using Love2d.

Github Page

This game makes sounds as long as you touch the screen and shows a random shape in random colors with a unique pattern, which follow your fingers around. The shapes are animated using the particle effects api that comes with the Love2d framework.

You can run the .love file if you have love framework installed on Linux/Windows/Mac/Android or use the Android apk I created. I don’t know if I will put it up on the Play store, but you can download it and view the source on Github. It’s more fun on my touchscreen laptop since there is more space to touch.

Love2d is fun and easy to learn for making 2d games. The particle system is neat, but it also includes a physics engine I want to play with some more.

phpGPS on Github

phpGPS Map

phpGPS Map

I have uploaded one of my recent projects phpGPS to Github in case there is any interest. It is a php/MySQL based web app for managing GPS entries and generating a Google Maps map which can easily be embedded on webpages.

GPS coordinates can be added to the database by any device that can send an HTTP GET request, which is pretty much anything with internet access. The GPS entries can then be moved, deleted, or have extra details added like a name and comments through the web interface.

I am currently working on a simple Tasker script so that I can easily add entries on a timer or with a button press from my Android phone.

Check it out here

phpGPS Index Page

phpGPS Index Page

phpGPS Edit Markers

phpGPS Edit Markers

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Test Map Embed:

JAMS – Java Awesome Midi Sequencer

 

This is a demo video of a new Java App I have been working on, I call it JAMS or Java Awesome Midi Sequencer. It is a hardware centric Midi Sequencer written in Java and intended for a Raspberry Pi. However, being written in Java means it can run in a lot of places and be easily developed on my main pc.

This video demonstrates some early features like separate controllers and instruments, and simple stepping and looping mechanisms.

All of the Sequencer controls can be mapped to a midi device and channel which can be used as the sequencer controller, while others can used as inputs and outputs. They can be the same device as in the video, or output to a different synthesizer. The built in Java synthesizer is even available, but it is not my first choice.

If a device has configurable channels, like the baxboard, it could be used for both control and as an instrument by changing the channel.

Currently, JAMS is intended to be run headless, without a monitor. It can be setup using only keyboard commands and will load preconfigured settings on startup, and will even connect to the preconfigured devices and start the sequencer loop.

Recording mode can be toggled on and off so that you can create your own loops to play over.

I intend to make at least a simple GUI targetted for low res touch screens as they are common addons for Raspberry Pis, maybe even a regular gui in the future. I hope this will be a much cooler way to play electronic music live instead of just watching some dude play on his imac.

The code will be available on Github soon.

baxboard – Midi Controller

Midi Controller 1 - Parts mounted

Midi Controller 1 – Parts mounted

I put together a Midi Controller over the last few days using the 4 Trellis button pads I ordered from Adafruit. I decided to add 4 knobs, four buttons, an lcd, a joystick, midi, and power led to the four pads and went to work making a panel that I could laser cut at the Dallas Makerspace.

I haven’t been using any guides or anything, just making it up as I go along. I started with just a few pieces on a breadboard and that worked well, so I thought I would make it more permanent; it is a lot easier to move this way. This does have the unfortunate side effect of creating a big mess of wires behind that front panel. Maybe on the next version I’ll take the time to design a real PCB. I was looking at parts online, and it could be a lot smaller and easier to build using all through-hole knobs, buttons, and connectors instead of panel mount. At least this way, I got something to work with a lot faster and was able to use what I had.

I laser cut just three parts for this build. I didn’t go with a complete box, instead I just cut front and rear panels, and a piece that backs up on to the buttons to hold them securely against the panel. It is about 2.5″ tall, but I spaced the boards apart using bolts and extra nuts. I will probably try and figure out something better for any future versions.

Amanda came up with a great name for it, baxboard. I think I’ll use that.

 


I have also began to put some code on Github. I have quite a bit of code I always intended to put up online, but never really got around to it. I made an account last year when working on the RFID Interlock and uploaded that code to the DMS repo, but never put any of my own up. I have used SVN for several years and it’s been great running my own server, but it is not too conducive to public sharing, Github makes this easier.

I posted all the code for my Led Table Coffee Table; Arduino sketch, php script, mysql script, and Raspberry Pi Java app. I usually mark everything as GPLv2 in case anyone is interested in using it.

I will be putting the source code and laser cut images for baxboard up on Github as I go along and get to functional places.