Jump to content

How to get ctx path from shapes?


Recommended Posts

I am doing html5 game, but instead of images (mostly they are simple like chess figures) i want to draw them with ctx. 

But the shapes are not only cubes/lines, but also a bit more complex.

Is there any website, where i could draw shapes like with Paint and extract to a basic ctx path? Or maybe it is possible somehow with Gimp2 or something else?

Any ideas? I need the fastest and simplest way, rather than try-fail with arcTo and whatever, which is hard to master.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...