I need to perform some animations in my project by using JavaScript.In my project, i want to draw some lines on the sheet at different angles & for this purpose i have used a stencil to draw but animations are not working properly. All i want is that the stencil (id: drawobjimg) must be back to its original position after performing animation(drawing line). I have attached a zip document file for your reference.
Steps to perform project are as follows.
Click on the arrows one by one.
Scales will appear.
Click on each scale one by one.
On each click on scale, stencil will draw one line.
There is nothing attached. New users are not allowed to upload files to the forum.
Apart from that, it would be great if you can put your code in an online editor like https://codepen.io so that we can directly look at a running example and test changes.
I’m sorry @nipunjain1305. With over 500 lines of code and over 15 broken images because of there local paths, it’s very hard to even understand what’s going on.
If you want help you should post a reduced test case: An example which is as simple as possible that shows the problem you have. Otherwise it is just too hard for an outsider of your project, to understand and help.
Maybe you are lucky and some other person on this forum wants to dig into the code.