- DelphiTools - http://www.delphitools.info -
Taming the flock with Object Pascal
Posted By Eric Grange On September 28, 2011 @ 08:26 In Ideas | Comments Disabled
Click below to see it in action and hit F11.
It illustrates using records, classes, and invoking the HTML5 Canvas and jQuery directly from Pascal code.
Chrome handles it best, but IE9 and FireFox are doing reasonably fine.
This time, I’ve wrapped it up in a demo zip  (653 kB), where you can have a look at the DWScript code, the Delphi code required to compile & run the demo, and you can even fiddle with the source and over-simplified compiler options (Debug/Release/Obfuscated) with the included pre-compiled executable.
To compile the demo yourself, you’ll need DWScript  (SVN version), SynEdit  (SVN version) and Indy (the version included with Delphi XE should be okay), which is used for a mini-web server to allow running the demo directly in your favorite browser.
Article printed from DelphiTools: http://www.delphitools.info
URL to article: http://www.delphitools.info/2011/09/28/taming-the-flock-with-object-pascal/
URLs in this post:
 last time: http://delphitools.info/2011/09/19/taming-html5-verlets-with-object-pascal/
 Image: http://delphitools.info/wp-content/uploads/2011/09/flock.htm
 demo zip: http://code.google.com/p/dwscript/downloads/detail?name=Flock-JSCodeGenDemo.7z
 DWScript: http://code.google.com/p/dwscript/
 SynEdit: http://sourceforge.net/projects/synedit/
Copyright © 2009-2013 Eric Grange / DelphiTools.info. All rights reserved.