Jump to content
Search Community

AlexAgustini

Members
  • Posts

    1
  • Joined

  • Last visited

AlexAgustini's Achievements

  1. Hey everyone. I've been trying to create a feature like the one on the codepen above for a project of mine, want to know if any of you got any ideas: in my case, i want to start with a simple square, and give the user the possibility of adding or removing edges of the shape, so that he can draw a triangle or a pentagon for example(for that i simply thought about changing the svg image, adding one more coordinate on the points attribute). However, i also want to implement a feature where the lines can't cross over each other, so that there is always a geometric shape drawed. Any ideas on how to do this? Thanks
×
×
  • Create New...