ChrisParton.net

The elation and frustration of building software and electronics.

java, programming

Rescuing empty JSON arrays in Micronaut

The Micronaut rewrite went great and everything's been running smoothly, but I came across a weird issue last night. When I hit an API endpoint that has an empty array, the array is omitted from the JSON response.
Chris Parton
Chris Parton
2 min read
java, programming, software

Finding The Fun In A Boring Task

As part of a recent contract job, I was tasked with creating around 150 distinct icons to represent trains in various statuses on an interactive map. This was a task that nobody was keen to pick up, as it involved long hours in an image editor.
Chris Parton
Chris Parton
2 min read
arduino, chrislights, electronics

Interactive Staircase

My third ChrisLights project is something I've been meaning to try for quite some time: building an interactive staircase. I reached the #1 spot on /r/arduino with over 600 upvotes and 11K views.
Chris Parton
Chris Parton
1 min read
arduino, chrislights

Light Discs: An Experiment Gone Right!

I figured that, when combined with fast rotation, a high-density LED strip attached to my ceiling fan would create a neat persistence-of-vision effect.
Chris Parton
Chris Parton
1 min read
arduino, electronics, chrislights

Introducing ChrisLights!

I've launched a new YouTube channel called ChrisLights. It's devoted to my love of lights, sound, games and code, and to projects that combine these elements into something unique and fun.
Chris Parton
Chris Parton
1 min read
arduino, electronics, udemy

The LED Pixel Master Course

Today, I released The LED Pixel Master Course on Udemy! I've wanted to create a Udemy course for quite a while now, and I figured a course on LED pixels was the perfect place to start.
Chris Parton
Chris Parton
2 min read
arduino, christmas lights, electronics, sparkled

Christmas Lights 2017

I decided to temporarily shelve my game and throw myself back into Christmas lights. I dusted off Sparkled and got to work. I'm really proud of what I accomplished in the last three months of the year.
Chris Parton
Chris Parton
1 min read
arduino, electronics, halloween

My First Jack-O'-Lantern

Halloween isn't a traditional Australian holiday, but it is becoming more prevalent with each passing year. I thought it'd be neat to try my hand at making a jack-o'-lantern.
Chris Parton
Chris Parton
1 min read
game dev, javascript

Circular Arc Spritesheet Generator

Now, how to create a spritesheet that displays a 360 degree arc that progressively shrinks to a 0 degree arc? I almost cracked open Photoshop, but I had the idea to generate the spritesheet using an HTML5 canvas.
Chris Parton
Chris Parton
1 min read
arduino, christmas lights, electronics, software

Christmas Lights 2016

I was really proud of myself for getting a display working with LED strips. I failed plenty of times along the way, but I got there in the end. I'm utilising the FastLED library, which does a lot of the heavy lifting for me.
Chris Parton
Chris Parton
2 min read
software

Wavesurfer.js: MultiCanvas Renderer

I implemented a MultiCanvas renderer for wavesurfer, which has since been accepted into the repository and released under version 1.1.0.
Chris Parton
Chris Parton
2 min read
electronics

A Home-made PCB Workstation On A Budget

As I began learning how to solder, I found the third hand quite useful for holding circuit boards and wires. However, as I progressed I grew more and more frustrated with the lack of manoeuvrability the third hand provided.
Chris Parton
Chris Parton
6 min read