My first attempt at a WordPress Plugin using the WordPress Plugin API. This simple plugin basically counts the posts and writes them into a comment. Hopefully more to come... possibly even something normal viewers of the blog may be able to see. Will try to keep up-to-date on

15 Oct 2016

This test grabs currency vs currency data from a JSON API and plots it in graph. Seeing as the data from a particular date isn't going to change in the future there's only one API call per data point. USD and EUR use the left-hand axis and CNY uses the axis on the right. Because Friday, Saturday...

19 Jul 2016

This is similar to what you might find on a dating website where you enter your address and it finds nearby matches for you. This was a quick test that uses a Google API to get the longitude and latitude, then we work out the distances from there. Finally, the results are presented on a Google...

The same code from here was extended to make it possible to have up to 2 constraints. The two constraints here are (active/non-active) and (mobile/non-mobile). The main graph, which has the average bar chart behind it,...

This used all my powers of trigonometry and takes the same data as used in the world map example to make a pie chart. Small and large angles are dealt with by the code. The main mistake here is that secondary countries and tertiary countries are all treated the same as the primary country so the...

Data from various different countries is collated with PHP and an SVG world map image is altered to show the volumes present in each country. This particular map did not match up 100% with the data I have (there is no Hong Kong or Hawaii). The countries that are highlighted all have data...

This code is derived from some code I posted on Github in Feb 2014 making a SVG graph from a database. The code is updated and instead of counting all the rows every time the graph is loaded I added an extra stage to take the...

Starting to look a bit more like snooker but the physics of the balls is not realistic. The cue is represented by a cube which can be rotated around the cueball and travels towards the cueball radially to strike it. The cue is constrained to the plane of the table so the balls may get raised up...

Second snooker test in Unity. The player controls the cue ball with the arrow buttons and knocks the black and red balls off the edge. One point for a red ball, seven points for the black and the score is reset to zero if the white goes over the edge.

This is a simple test to look at 1) a ball rolling and hitting a target and 2) the ball falling over the edge. Both events are recognized in the score (top-left). The next thing would be to get the physics of the ball hitting the target better and to have this as two balls so that the red ball...

27 Jun 2015

Using "bones" to modify a little green android character and animate in Blender. This was my first attempt at animating anything manually using keyframes in Blender. It was also my first use of bones.

There are several tutorials to make a donut with frosting and sprinkles on the internet, I followed one and tweaked it. The frosting slipped off in one area but it looks ok and I'm particularly proud of the randomness of the sprinkles. It was a good test to get to know various different aspects...

27 Jun 2015

This is a 3D test of water dropping into the shape of a rectangular box in Blender with cycles. This uses Blender's fluid mechanics and the automatic animation that comes when you create a fluid source and a domain and let it get to work. One...