如何在网站中添加功能颜色 [英] How do I add a color it in feature to a website

查看:111
本文介绍了如何在网站中添加功能颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要创建一个网站作为大学任务的一部分。该网站必须是儿童,这是我认为允许用户在图片中着色的网站的一个很好的功能。这可能通过html5画布或更好的方法是使用javascript / jQuery。

提前感谢您提供的任何帮助

解决方案

< blockquote>为孩子们做一些有益的事情是一个非常好的主意,这应该能激发创造力,而不是像大多数资源那样的消费主义!



但首先,你需要长大足以应用一些批判性思维和逻辑:-)。 HTML5 Canvas现在可能是最好的机会,但它实际上使用Javascript来创建图形并为其设置动画(或添加交互行为)。而jQuery只是Javascript库。有些人比较苹果和橘子,但是你试着将苹果与......相同的苹果进行比较,没有问过任何替代品。



我想说HTML Canvas真的是一个非常好的选择: http://en.wikipedia.org/wiki/HTML5_Canvas [ ^ ]。



(没有这个功能,我会问你是否可以使用一些服务器端技术,但这种方法无法与基于客户端的HTML Canvas竞争性能。)

看看它有多么惊人:

http:// code。 tutsplus.com/articles/21-ridiculously-impressive-html5-canvas-experiments--net-14210 [ ^ ]。



该技术有很多不同的手册。我不想提供任何参考;你可以自己更好地找到最适合自己的东西。这个甚至解释了用于创建图形编辑器的技术: http:/ /appcobra.wordpress.com/2013/03/02/creating-an-image-editor-in-html5 [ ^ ]。



我希望你可以找到关于如何创建你想要的着色器的足够信息,但我认为你可以发明更多。如果你用爱接近这项工作。



祝福,

-SA


Hi all, I need to create a website as part of a college assignment. The website has to be for children, a nice feature for the site I thought would be to allow the users to color in a picture. Is this possible through html5 canvas or would a better approach be to use javascript/jQuery.
Thanks in advance for any help you can offer

解决方案

This is a really great idea to do something good for children, something which should stimulate creativity, not consumerism like most of the resources!

But first, you need to grow up enough to apply some critical thinking and logic :-). HTML5 Canvas is maybe the best opportunity these days, but it actually uses Javascript for creation of graphics and animating it (or adding interactive behavior). And jQuery is just the Javascript library. Some compare apples and oranges, but you try to compare an apple with… the same very apple, did not ask about anything alternative.

I want to say that HTML Canvas would really be a very good choice: http://en.wikipedia.org/wiki/HTML5_Canvas[^].

(Without this feature, I would ask you if you can rather use some server-side technology, but such approach cannot compete with client-side based HTML Canvas in performance.)
Look how amazing it can be:
http://code.tutsplus.com/articles/21-ridiculously-impressive-html5-canvas-experiments--net-14210[^].

There is a lot of different manuals on the technology. I don't want to provide any references; you can better find what is the most suitable for you by yourself. This one even explains the techniques used to create a graphical editor: http://appcobra.wordpress.com/2013/03/02/creating-an-image-editor-in-html5[^].

I hope you can find enough information on how to create the colorizer you want, but I think you can invent a lot more. If you approach to this work with love.

Best wishes,
—SA


这篇关于如何在网站中添加功能颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆