Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

DIEGO RODRIGUEZ VIDAL
DIEGO RODRIGUEZ VIDAL
2,850 Points

How do they created this effect?

A few days ago I have visited a page called https://www.canva.com/signup and I really liked the effect that they have created in their homepage.

What do I need to know to create something like that. Regards Diego

4 Answers

I believe it's jquery.

Caleb Kester
Caleb Kester
1,710 Points

Looks like they have something with canvas going on there. I found a stack overflow topic with some insight into a similar idea: http://stackoverflow.com/questions/19953917/fade-pixelate-blurred-image-to-normal-after-mouse-over-using-jquery

John Lucey
John Lucey
9,349 Points

Caleb Kester has a great answer, I believe they are using an HTML Canvas with Jquery to create the effect. Here is a similar project on code pen using dots instead of an image so you can get a look at the code. and play with the demo. Post back if you get it worked out. Good luck and enjoy!

http://codepen.io/soulwire/pen/Ffvlo

DIEGO RODRIGUEZ VIDAL
DIEGO RODRIGUEZ VIDAL
2,850 Points

Hi guys,

Thanks for your responses, I am having a look to the project on code pen and it´s really interesting. I will let you know if I get it worked out. :)