screenshot

Voronoi Experiment

I first encountered the Voronoi back in my honours thesis when we were redistributing points on a plane to assist in up- and down-sampling point based 3D models. At the time I was using a library that did not use the plane sweep algorithm by Steve Fortune. This made the overall …

center-slide-screen

Center Slide Effect

This effect can be used as a transition effect or to animate the showing or hiding of a display object. The effect works by exposing / hiding the display object from the center line. The center line can be either the horizontal or vertical centre. The original idea came when …

Data Source Handling with Tomcat 7.0

The “new” J2EE6 standard allows for setting up of datasources in the web.xml of a web application. If the webserver is compliant- this feature will enable defining your database resources in the web.xml like the example below. web.xml config MySQL Datasource example jdbc/mkyongdb javax.sql.DataSource Container Thanks to resource injection, the …