This example has error

require('node-easel');
var Stage = createjs.Stage;
var Shape = createjs.Shape;
var Canvas = require('../lib/canvas'); //openvg canvas

//Create the canvas to draw to
var canvas = new Canvas(350, 350);
var stage = new createjs.Stage(canvas);

//Create graphics object
var shape = new createjs.Shape();
shape.graphics.beginFill("#FF0000").drawCircle(0,0,50);
stage.addChild(shape);
stage.tick(); 



../bin/node-canvas bball3.js
node: /home/pi/.node-gyp/0.8.20/src/node_object_wrap.h:61: static T* 
node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = Context2d]: 
Assertion `handle->InternalFieldCount() > 0' failed.


On Thursday, 7 March 2013 23:53:31 UTC+13, Luis Reis wrote:
>
> Hi Kevin,
>
> Can you tell me more about the problems you're having ?
>
> I'd like to take a look at that.
>
> Best,
> Luis
>
> Luis
> -- 
>
>
>
> On Fri, Mar 1, 2013 at 12:47 AM, Kevin Donnelly 
> <[email protected]<javascript:>
> > wrote:
>
>>
>> Thanks, examples work  on my Raspberry Pi.
>> Trying to interop with node-easel, not successful so far.
>>
>>
>>
>> On Sunday, 21 October 2012 13:45:22 UTC+13, Luis Reis wrote:
>>>
>>> Hi all,
>>>
>>> I've just published on npm the openvg-canvas module. It allows you to 
>>> use the Raspberry Pi's GPU as a HTML5 Canvas. It works on top of OpenVG 
>>> which, I believe, is also available on android.
>>>
>>> Current code, details and implementation status are available on 
>>> https://github.com/**luismreis/node-openvg-canvas<https://github.com/luismreis/node-openvg-canvas>
>>> .
>>>
>>> This library was used to power the LXJS tweetwall and although it isn't 
>>> complete it is already very usable. It supports truetype fonts via freetype 
>>> (currently only dejavu fonts which are bundled on the raspbian 
>>> distribution) and images through FreeImage.
>>>
>>> Comments and contributions are appreciated.
>>>
>>> Cheers,
>>> Luis Reis
>>> -- 
>>>
>>>
>>>   -- 
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to