Completed Java Quests
Convert Milliseconds to Weeks, Days, Hours, Minutes, Seconds
Some basic math to calculate Weeks, Days, Hours, Minutes, and Seconds from a given time in milliseconds. Super useful for process timing....
MySQL Performance Tests
I'm continuing to work on my Medieval Realms project and one of the obstacles I'm faced with at the moment is the storage and retrieval of...
Voronoi Tessellation
Since learning about Simplex Noise and how to use it I've started researching Voronoi Tessellation. Voronoi Tessellation is fancifully...
Short-circuit Operators
FirstFunction() || SecondFunction() true || SecondFunction() true FirstFunction() && SecondFunction() false &&...
Resampled Simplex Noise
Over the last few months I have been working with noise generation algorithms. My latest of which is a resampled noise heightmap which...
Experimenting with Simplex Noise in Java
Continuing on from Experimenting with Perlin Noise in Java I decided to take a look at different noise generation algorithms. In doing so...
Experimenting with Perlin Noise in Java
Recently I've been working on creating a Perlin Noise function from scratch using the knowledge I've learned during my C# Unity...
Java Exclusive OR Operator
Clearing through my paper notes I came across a scribble. if (condition1 ^ condition2){ //only if condition1 OR condition2 is true. Not,...
Medieval Realms and BufferedImage
I've not posted any Unity build stuff recently (in fact since April 24th). I've been working away on an update for my plugin called...
Concatenating Strings Best Practice
So I've always done it with the plus (+) operator turns out using a prefix $ is much more efficient in terms of memory usage. //less...
Public Variable vs Public Property
Remember to always use a public property over a public variable. Public variables such as below are potentially dangerous; //bad practice...