Polygonal - lab.polygonal.de - polygonal
General Information:
Latest News:
Reassembling the polygonal library 26 Jul 2012 | 06:22 am
I’ve just finished restructuring my library into smaller parts – this was necessary because the previous monolithic approach has become really hard to maintain. Now, I can push updates more frequently...
Using sprintf with Haxe 1 May 2012 | 06:39 am
In contrast to ActionScript, Haxe allows you to customize the trace() function to better fit your requirements. For example, you can format or delegate the input to your favorite logger, resulting in ...
A fast notification system for event-driven design 25 Apr 2012 | 01:08 am
Back in 2009 I started to work on a custom solution for dispatching and listening to events. At this time I switched to the Haxe language, and so my main motivation was to write a cross-platform syste...
Introduction to ds 12 Jan 2012 | 04:42 am
“Introduction to ds” is a slide presentation/manual about ds which I started last year. I never had enough time to finish it quickly so I wrote it now and then and just recently finished it. The pres...
Linked list performance 19 Dec 2011 | 11:49 pm
It’s a fact that haXe creates swf files running faster compared to mxmlc. Amazingly, haXe is also faster at compile time. But to which extent are haXe generated swf files faster? Optimizing code espec...
A* pathfinding with ds 23 Jul 2011 | 03:11 am
I recently did a complete rewrite of my graph-based A* pathfinder example because I received a lot of questions on how to implement path-finding using the new ds library. So here is an updated demo th...
Heaps and Priority Queues in ds 1.31 12 Apr 2011 | 07:03 am
I recently revised and improved the Heap and PriorityQueue classes, mainly because the difference between both has always been somewhat blurry. The new implementations are included in ds 1.31, so let’...
Yo, Ho! Welcome on deck, deque! 4 Mar 2011 | 12:25 pm
The newly released ds library (version 1.3) now includes an efficient deque implementation. What is a deque? A deque is a double-ended queue and pronounced “deck”. In contrast to a queue, which allo...
Simple 2D Molehill Example 28 Feb 2011 | 10:38 am
Here is a minimalistic FlashDevelop AS3 project that demonstrates how to use the Molehill API to draw a single 2D sprite on the screen. You can get the project here: fdproject-mole2d.zip. Assuming yo...
Fast hash tables 2 Nov 2010 | 07:10 am
The Dictionary class – a dead end for other targets Recently I started to adjust my code with the C++ and JavaScript haXe target in mind. I have to say it’s really amazing to see your code running on...