Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Unofficial Survey of the Week

Unofficial Survey of the Week

Scheduled Pinned Locked Moved The Lounge
htmlquestiondiscussion
14 Posts 9 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Forogar
    wrote on last edited by
    #1

    SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

    - I would love to change the world, but they won’t give me the source code.

    N OriginalGriffO M Kornfeld Eliyahu PeterK P 7 Replies Last reply
    0
    • F Forogar

      SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

      - I would love to change the world, but they won’t give me the source code.

      N Offline
      N Offline
      Nathan Minier
      wrote on last edited by
      #2

      Depends on the requirement, but for basic images SVG all the way! Canvas implementations have just classically had too many issues for broad compatibility.

      "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

      1 Reply Last reply
      0
      • F Forogar

        SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

        - I would love to change the world, but they won’t give me the source code.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        ASCII art - it's the future!

        Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        • F Forogar

          SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

          - I would love to change the world, but they won’t give me the source code.

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          Forogar wrote:

          I have used SVG but am thinking of switching to use HTML5 Canvas instead.

          Why?

          Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          F 1 Reply Last reply
          0
          • M Marc Clifton

            Forogar wrote:

            I have used SVG but am thinking of switching to use HTML5 Canvas instead.

            Why?

            Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

            F Offline
            F Offline
            Forogar
            wrote on last edited by
            #5

            Cos!

            - I would love to change the world, but they won’t give me the source code.

            OriginalGriffO 1 Reply Last reply
            0
            • F Forogar

              SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

              - I would love to change the world, but they won’t give me the source code.

              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu Peter
              wrote on last edited by
              #6

              Combined - Canvas for rich background and SVG for moving parts...

              "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

              "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

              1 Reply Last reply
              0
              • F Forogar

                Cos!

                - I would love to change the world, but they won’t give me the source code.

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                Sin!

                Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                F 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Sin!

                  Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                  F Offline
                  F Offline
                  Forogar
                  wrote on last edited by
                  #8

                  Tan! ...just to complete the trilogy.

                  - I would love to change the world, but they won’t give me the source code.

                  Richard DeemingR 1 Reply Last reply
                  0
                  • F Forogar

                    SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

                    - I would love to change the world, but they won’t give me the source code.

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #9

                    That's a front-end problem.

                    1 Reply Last reply
                    0
                    • F Forogar

                      Tan! ...just to complete the trilogy.

                      - I would love to change the world, but they won’t give me the source code.

                      Richard DeemingR Offline
                      Richard DeemingR Offline
                      Richard Deeming
                      wrote on last edited by
                      #10

                      Someone should cosh you for that! :-D


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                      F 1 Reply Last reply
                      0
                      • Richard DeemingR Richard Deeming

                        Someone should cosh you for that! :-D


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                        F Offline
                        F Offline
                        Forogar
                        wrote on last edited by
                        #11

                        No. Only someone who believed in acos would do that - otherwise it's asin.

                        - I would love to change the world, but they won’t give me the source code.

                        1 Reply Last reply
                        0
                        • F Forogar

                          SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

                          - I would love to change the world, but they won’t give me the source code.

                          D Offline
                          D Offline
                          Dar Brett 0
                          wrote on last edited by
                          #12

                          What about WebGL?

                          F 1 Reply Last reply
                          0
                          • F Forogar

                            SVG or Canvas or something else? I have used SVG but am thinking of switching to use HTML5 Canvas instead. What are your opinions?

                            - I would love to change the world, but they won’t give me the source code.

                            P Offline
                            P Offline
                            Plamen Dragiyski
                            wrote on last edited by
                            #13

                            Do you need unstable (non-persistent) or partial drawing, buffers, dynamic scalar image generation (opposite as vector image generation), layers or 3D? Then use canvas. For all other simpler cases use SVG. None of those technologies is superior - SVG is simple to use for simple use cases, Canvas is simple to use for advanced use-cases (and difficult to use for simple use-cases).

                            1 Reply Last reply
                            0
                            • D Dar Brett 0

                              What about WebGL?

                              F Offline
                              F Offline
                              Forogar
                              wrote on last edited by
                              #14

                              Useful but renders to HTML5 Canvas anyway.

                              - I would love to change the world, but they won’t give me the source code.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups