简体   繁体   English

通过画布创建带有动画的形状

[英]Create shape with animation by canvas

I want create shape with canvas similar this link .我想用类似于此链接的画布创建形状。 1- but I want to make another pic with (nudes) dots instead of circle. 1-但我想用(裸体)点而不是圆圈制作另一张照片。 I know that i have to change the prepare points but changing the pic in this way is very difficult.我知道我必须更改准备点,但以这种方式更改图片非常困难。 Is there any easier way?有没有更简单的方法? For example wanna make the nudes like this design.例如想要制作像这种设计的裸体。 2- Also i wanna remove the nudes waves. 2- 我也想去除裸体波浪。 How can i do this?我怎样才能做到这一点? I wondering if u help me this.我想知道你是否帮我这个。

vkoori123

I remove vibration with this change我通过此更改消除振动

mouse: { x: -1000, y: -1000, down: true, move: true },

and

mouseOut: function(event) {
    Nodes.mouse.x = -1000;
    Nodes.mouse.y = -1000;
    Nodes.mouse.down = true;
    Nodes.mouse.move = true;
}

now I need just change circle to other photo with another solution (not use preparePoints)现在我只需要使用另一种解决方案将圆圈更改为其他照片(不使用preparePoints)

You can use SVG Editor with JavaScript You will get many more possibilities as per requirement您可以将SVG 编辑器与 JavaScript 结合使用您将根据需要获得更多可能性

Some Demo一些演示

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM