Advanced Web Graphics with Canvas

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Advanced Web Graphics with Canvas - Presentation Transcript

    1. Advanced Web Graphics with canvas jason harwig
    2. I hate images..
    3. \"In general, if I can replace an image with code, I do so.\" - Wil Shipley
    4. The Triangle Story
    5. Uselesspickles.com
    6. A better way (without images) Images Canvas diff / merge not possible possible changeability hard easy client download large small client render speed fast slow
    7. What is Canvas?
    8. <canvas width=\"100\" height=\"100\"> </canvas>
    9. ctx = canvasElement.getContext('2d') // ctx is CanvasRenderingContext2D
    10. included in HTML 5
    11. browser support Safari 2.0+ Firefox 1.5+ Opera 9.0+ IE N/A
    12. show me something cool
    13. Polar clock
    14. mario
    15. mario kart
    16. algorithm ink
    17. processing.js
    18. Mocha UI Demo
    19. CVI - Christian Effenberger
    20. Color picker
    21. what should we make?
    22. User Interface Graphics • Nice looking UI controls
    23. design for programmers
    24. Shadows and Highlights
    25. Safari
    26. Firefox
    27. 220, 220, 220 197, 197, 197 150, 150, 150 222, 222, 222 201, 201, 201 158, 158, 158
    28. Specular & diffuse lighting Border shadows
    29. 2 pixel divide most basic shadow / highlight
    30. specular highlights
    31. please bare with me
    32. watch your light source
    33. Multiple light sources Reflection Visual complexity
    34. be consistent
    35. be subtle
    36. canvas api
    37. save strokeRect arcTo restore beginPath rect scale closePath arc rotate moveTo fill translate lineTo stroke transform quadratic clip setTransform CurveTo drawImage clearRect bezier createLinearGradient fillRect CurveTo createRadialGradient
    38. Custom UI
    39. Rich controls • Graphing • Star Rating control • Loading Spinner • Slider • Button on Fire
    40. Other Ideas? • Icons • Password Strength Meter • Navigation Menu / Tabs
    41. Drawing Text
    42. • Support in Firefox 3 For Everything else: • Draw Text with DOM absolutely position • Draw text with lines manually strokeText.js (CVI)
    43. lets talk about Internet Explorer..
    44. • no native support today • no word from Microsoft on this changing
    45. Explorer Canvas • Adapter API, canvas to VML • No support for: • globalComposition • radialGradients • drawImage with canvas • Inserting canvas element via innerHTML requires document.createElement('canvas')
    46. Browser Plugin developed by.. Mozilla?? • Leave No Browser Behind • ActiveX plugin that implements canvas
    47. \"I don't think iPhone brings anything new to the table. It has a great user experience, but that's all.\" Manjit Singh, CIO at Chiquita Brands International Inc.
    48. Resources \"Triangles in CSS\" \"Processsing.js\" uselesspickles.com ejohn.org/blog/processingjs/ \"Polar Clock\" \"Mocha UI\" snipersystems.co.nz/community/ mochaui.com/demo/ polarclock/tutorial.html \"CVI\" \"JavaScript Games\" netzgesta.de/cvi/ nihilogic.dk/labs/javascript-games/ \"Color Picker\" \"Algorithm Ink\" sweetvision.com/2007/03/25/ azarask.in/projects/algorithm-ink/ enhanceing-the-javascript-color- picker-with-the-canvas-element/
    49. More Resources \"Mac OS X Leopard Dock\" \"No Browser Left Behind\" furbo.org/2007/07/03/the-hig- blog.vlad1.com/2008/07/30/no- still-matters-even-with-special- browser-left-behind effects/ \"Mozilla Canvas Tutorial\" \"Navigation Menu Example\" developer.mozilla.org/En/ zdotb.com Canvas_tutorial \"strokeText.js\" netzgesta.de/dev/text \"Explorer Canvas\" excanvas.sourceforge.net
    50. twitter: jharwig jason.harwig@nearinfinity.com nearinfinity.com/blogs careers@nearinfinity.com 63

    + Jason HarwigJason Harwig, 2 years ago

    custom

    2077 views, 0 favs, 0 embeds more stats

    Talk given at The Rich Web Experience 2008. Check o more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2077
      • 2077 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 16
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories