Uncategorized

Oct 5, 2009

Collada to ActionScript 3.0 exporter BETA: Testers needed!

Posted by Dennis in Uncategorized 12 comments

There are a lot of people who use Blender and the Blender to ActionScript exporter. However, there are a lot of people who use Maya, SketchUp, DAZ Studio or any other 3D program who aren’t able to export to ActionScript classes. Some people came to me with the question “why don’t you create a COLLADA [...]


Apr 1, 2009

Alchemy plasma experiment

Posted by Dennis in Uncategorized 5 comments

Note: this can be done quicker with pure ActionScript by using paletteMap(). This example is merely an Alchemy example.
Watch the example here.
Here’s an example of how this can be used on a 3D object.
Here’s the C code:

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include “AS3.h”

int* palette;
int* plasma;
int* newPlasma;
int width;
int height;

AS3_Val generatePlasma(void* self, AS3_Val args)
{
int x, y, r, g, b, [...]


Mar 26, 2009

Installing Adobe Alchemy: “bash: alc-on: command not found” Error

Posted by Dennis in Flash, Uncategorized 3 comments

I’m currently trying to get started with Adobe Alchemy. I’ve downloaded the SDK and Cygwin. I’ve followed all the steps from the getting started documentation: http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started. When trying to execute this command:
alc-on; which gcc
I get this error
bash: alc-on: command not found
The problem here is that the .bashrc file is not executed when the Cygwin bash [...]


Mar 12, 2008

Programmatic drawing with Silverlight 2 Part 3: Simple Animation

Posted by Dennis in Uncategorized 6 comments

This example shows you how you can make a simple line animation in Silverlight 2. There isn’t much documentation about this yet, so it took some figuring out on how to do this correctly.
Basically these are the steps to create an animation:

Create a Storyboard object
Set the Storyboard’s Duration property
Create a DoubleAnimation object
Set the DoubleAnimation object’s [...]


Mar 4, 2008

Silverlight 2 Beta 1 C# Truchet Tiling

Posted by Dennis in Uncategorized 4 comments

Truchet Tiling is an easy way of creating random patterns. See what it looks like here.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Truchet3
{
public partial class Page : UserControl
{
public Page()
[...]


Mar 4, 2008

An essential AIR application for serious guitarists

Posted by Dennis in Uncategorized 18 comments

I just finished the new version of my guitar scales application. When AIR was still Apollo I created a first rough version with a standard Flex look. Now that AIR 1.0 has been released it was time to do it properly.

This application lets you pick a scale and draws it on a virtual fretboard. You [...]


Mar 3, 2008

Programmatic drawing with Silverlight Part 2: C#

Posted by Dennis in Uncategorized 6 comments

In one of my previous posts I explored how programmatic drawing with Silverlight 1.0/JavaScript worked. It was done by constructing a XAML string and inserting it into the XAML hierarchy. Not a nice way of doing things, imho.
Fortunately Silverlight 1.1 alpha offers the possibility to use C#. This way there’s no need to construct strings [...]


Feb 25, 2008

Tweening Silverlight with JSTweener

Posted by Dennis in Uncategorized 5 comments

I do most of my ActionScript tweening with the easy-to-use Tweener class. Tweener has been ported to JavaScript so that means it can be used with Silverlight 1.0. This port is called JSTweener and its syntax is identical with Tweener for ActionScript.
The most basic tweening example looks like this:

JSTweener.addTween( myObject, { x: 30, y: 30, [...]


Feb 19, 2008

Programmatic drawing with Silverlight

Posted by Dennis in Uncategorized No comments

I’ve finally set myself to doing something with Microsoft’s Silverlight. After reading some of the basic stuff I have to say it looks promising. I can’t wait for C# support though, JavaScript is making my life miserable again :P.

I’ve taken a code sample (written in BASIC) from and old book and converted it to JavaScript. [...]


May 31, 2007

eXtreme Programming, Flex 3, Apollo, SWX and lots more

Posted by Dennis in Uncategorized 1 comment

Yesterday I visited Adobe Live! in Amsterdam. This year promised to be more interesting than last year because of the CS3 release and because there’d be more to see for developers. As it turned out I was both positively surprised and a bit dissapointed.
First of all the location. Last year Adobe Live! was held in [...]