UnionDraw requires access to a Union Server. UnionDraw is broken into two files: an HTML wrapper that provides the drawing canvas and basic user interface, and a JavaScript file that implements the application logic. Stripped of comments and line breaks, the code is about 350 lines of client-side JavaScript, and requires no server-side programming. Support for in Internet Explorer 8 is provided by Google's ExplorerCanvas. The drawing pad works in Firefox 3+, Chrome 1+, Safari 4+, iPad, iPhone 3+, Android 2.1+, Internet Explorer 8+, and Opera 9.5+. Where WebSocket is not supported, OrbiterMicro automatically falls back to Union platform's binary request model for responsive two-way communication over traditional HTTP. For maximum speed, the connection to Union Server is made over WebSocket in browsers that support it. To manage communication between users, the JavaScript code uses OrbiterMicro, which connects to Union Server. The drawing pad updates in realtime when any connected user draws a line. This example shows how to create a simple multiuser drawing pad (aka shared whiteboard, multiuser sketchpad, or collaborative painting tool) using pure JavaScript and HTML5's tag. Upgraded all JavaScript dependencies to their latest versions.OrbiterMicro Examples Multiuser Drawing Pad Built with Pure JavaScript/HTML5/Canvas.Fixed an issue where the eraser would cause random chaos.Fixed an issue where lines drawn with the pen wouldn't show up until the mouse was lifted.Use the button in the top right to download an image of your board. More colors have been added to the color picker. Boards need to be opened at least once to generate the images. For logged-in users, the list of boards now appears as images instead of just text.Fixed Undo not working with the eraser.There's a new Marker tool that works like the pen but with some transparency.Images can be exported with transparent or white backgrounds, and at high resolution.The top toolbar has been rearranged to create more space for new features.The Eraser tool's size is controlled independently of other tools, and is larger by default.The Selection tool has been significantly improved.The Marker tool's opacity can be adjusted with a slider.“Sticky notes” is a new tool that puts text on top of a colored rectangle.When logged in, your list of whiteboards is displayed 16 at a time instead of all at once.Many bugs with text and sticky notes have been fixed.The image export dialog will show the exported image size and warn you if it exceeds a browser-imposed limit.Each board comes with three links that give guests different abilities. Fixed some awful bugs related to the Clear button.Many site stability and performance improvements.There is a secret API you can use to make whiteboards and embed them in other web sites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |