Hi Dan,
thanks!
Check out the freedraw demo in particular if you haven't already,
> it shows how a user can create an SVG path in real time by clicking and
> dragging. The path data object has a toString method which I believe
> gives you the data you'd need to synchronize drawings across clients.
>
Yep, I checked the source of those demos before sending the first e-mail. It
doesn't look hard to use. However, I don't know if I can place it on top of
an image and set the background to transparent. It'd be great if Marc Puts
saw this e-mail and could confirm it. My worries aren't about developing but
about chosing the wrong solution. Unfortunately I don't have much time left
for this project :(
> I'm not sure if synchronizing path data in real time (on mousemove) will
> be feasible, maybe it would be enough to use an interval for the
> synchronization (or maybe only send full paths on mouseup).
>
yep definetely.
I thought of providing two ways of pointing elements on screen:
- click somewhere and an animated dot is shown on attendee's same
coordinates.
- doodles: attendee writes a doodle. onmouseUp, the doodle is sent. since
it's a canvas, it can be edited and as long as I send all svg the user
wrote, the user will be able to edit his doodles.
in this conversation we're discussing the second one.
therefore, there should be 2 canvas? the stack would be:
- my canvas, where I paint
- all attendees canvas, which I can't edit and contains all attendee's
doodles.
- the slide, a png file in qx.ui.Image
> Regards,
> Daniel
>
> On 06/09/2011 04:31 PM, Eduard Gamonal wrote:
> > Hi,
> > I'm building an app in eyeOS to share a presentation created with
> > openoffice. i'm using qooxdoo 1.3
> > The most important use case is sharing doodles on a slide. The user
> > draws something on a slide and other attendees will see it. A slide is a
> > qx.basic.Image component.
> >
> > I was wondering if I could get some ideas from you to make this work
> > with qooxdoo. I've found some old e-mails of people developing apps that
> > use SVG somehow [1], but sometimes I can't figure out if they'll be
> > useful for me and I have to read lots of documentation.
> >
> > I think there are two subproblems: sending data in real time (so other
> > users see how you draw your doodle) and the format of the data the user
> > sends.
> >
> > For example, I thought about using the canvas [2] element, but looks
> > like it only supports one primite shape: rectangles.
> > I could use SVG, to store the doodle. I don't really know how to capture
> > the input. I'd like the user to draw freely on the screen. If I work
> > this out, we may eventually build a GNU Paint like program made with
> > qooxdoo, which is quite exciting.
> > I've also seen Graffiti Markup Language, which also stores time
> > information, but SVG looks widely used.
> >
> > simple put: I want to draw on top of a picture but I don't need to
> > modify it.
> >
> > [1] http://qooxdoo.org/contrib/project/svg
> >
> > [2] https://developer.mozilla.org/en/Canvas_tutorial
> >
> > Edu
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> >
> >
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel