2

我即将创建类似的东西。也就是说,一个卡通人物应该可以通过点击按钮来实时改变。

我的计划是将 javascript (jQuery) 与 HTML5 和 CSS3 一起使用,并将其与 Django 集成。我希望能提供一些关于如何处理此任务的建议,例如可以使用哪些功能/技术/API。如果您知道可能对这项任务有用的 Django 应用程序,我会非常高兴。

例如,SVG 适合这项任务还是我应该使用画布?

非常感谢你的帮助!

4

1 回答 1

3

Because you want it real-time I'd advise client-side processing. Given that 'flash is dead' (and not supported on apple iphoney stuff), I think canvas is a better solution (over SVG, that I find way to quircky).

One of the main advantages to canvas in this specific scenareo is that users can right-click the client-side (in canvas) generated image and save it just like any other image.

To get you started you might want to look at tektek's dream avatar creator, this also uses canvas.

于 2013-04-22T20:59:05.090 回答