Jump to content

canvas drawing to function converter


Recommended Posts

i need to get many resizeable shapes with canvas which would work like vectors. but its hard. i didnt find any tool which would create functions.

for example i draw with canvas a chess piece. it has few arctos and bezoercurves. i need it to have at any size at any color. 

i used 1 week to make a formula which draws it nice with these options.

now i need so many other shapes.. so i think i need to do a open source tool where you draw shapes like with paint and get a function. for example

function draw_pawn_chees (x,y,width,height,color..){}


or do you have any easier way to get the functions? or you agree that world needs such thing?


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...