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. HTML5 Canvas or SVG?

HTML5 Canvas or SVG?

Scheduled Pinned Locked Moved The Lounge
pythonhtmlasp-netcombeta-testing
25 Posts 13 Posters 34 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 Forogar

    I have an application I wrote myself to generate the SVG drawing parameters. My most commonly used objects are simple hexagons or partial hexagons, circles, squares plus a couple of complex images of mythical beasts done by hand.

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

    B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #21

    I've actually even considered drawing the diagram on an A3 sheet of graph paper, the manually just copying the co-ords into SVG. The paper drawing itself will be so much simpler and quicker than with a cad tool.

    Follow my adventures with .NET Core at my new blog, Erisia Information Services.

    F 1 Reply Last reply
    0
    • B Brady Kelly

      I've actually even considered drawing the diagram on an A3 sheet of graph paper, the manually just copying the co-ords into SVG. The paper drawing itself will be so much simpler and quicker than with a cad tool.

      Follow my adventures with .NET Core at my new blog, Erisia Information Services.

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

      If you don't have to do it repeatedly, sometimes graph paper and a pencil works best!

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

      1 Reply Last reply
      0
      • K Kirk 10389821

        Personally, I like the single level of indirection SVG would use. Everything Renders it quite nicely, and if you DID need to do something relatively unique, you could easily find the SVG example. Very easy to dump an SVG file and find the issue. Especially vs. Canvas Writing commands. Also, great for importing into a graphics package as vectored and using it in literature. Seems obvious as someone who knows NOTHING about your goals :-)

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

        Kirk 10389821 wrote:

        Seems obvious as someone who knows NOTHING about your goals

        [This](https://www.codeproject.com/Articles/1136050/FlowSharp) but in a browser. SVG seems to be the winner here in this informal questionnaire. :) Marc

        V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation 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

        K 1 Reply Last reply
        0
        • M Marc Clifton

          Kirk 10389821 wrote:

          Seems obvious as someone who knows NOTHING about your goals

          [This](https://www.codeproject.com/Articles/1136050/FlowSharp) but in a browser. SVG seems to be the winner here in this informal questionnaire. :) Marc

          V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation 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

          K Offline
          K Offline
          Kirk 10389821
          wrote on last edited by
          #24

          Hah, that reminds me of a DOS program I used: EZ-Flow. It had a great feature/mode: Keyboard! You would type a 1 letter code for each object (D for Decision), hit ENTER and then hit an arrow key, it would draw the decision box, and the arrow in that direction and then you type R (I think) for routine, gives a rectangle, completes the arrow for you. If you kept typing, it would fill in the caption until you hit ENTER or something (this was like 1987). The funny part was that I could CRANK OUT Flowcharts really quickly. We had to use them in our documentation, LOL. Everything aligned to grid, which was fine. == But now you have me curious. Are you going to use SVG For the Individual objects, or for the Entire Graph? (I assume the entire graph, since it should handle the moving of attached lines perfectly well). Good luck. Won't it be funny if it was easier to implement than everything you had to do to make the desktop app? Kirk Out!

          M 1 Reply Last reply
          0
          • K Kirk 10389821

            Hah, that reminds me of a DOS program I used: EZ-Flow. It had a great feature/mode: Keyboard! You would type a 1 letter code for each object (D for Decision), hit ENTER and then hit an arrow key, it would draw the decision box, and the arrow in that direction and then you type R (I think) for routine, gives a rectangle, completes the arrow for you. If you kept typing, it would fill in the caption until you hit ENTER or something (this was like 1987). The funny part was that I could CRANK OUT Flowcharts really quickly. We had to use them in our documentation, LOL. Everything aligned to grid, which was fine. == But now you have me curious. Are you going to use SVG For the Individual objects, or for the Entire Graph? (I assume the entire graph, since it should handle the moving of attached lines perfectly well). Good luck. Won't it be funny if it was easier to implement than everything you had to do to make the desktop app? Kirk Out!

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

            Kirk 10389821 wrote:

            EZ-Flow.

            I vaguely remember that program. :)

            Kirk 10389821 wrote:

            Won't it be funny if it was easier to implement than everything you had to do to make the desktop app?

            We shall see! Marc

            V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation 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

            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