Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geberele/imac_scroll

THE AMAZING iMAC SCROLL EFFECT
https://github.com/geberele/imac_scroll

Last synced: 9 days ago
JSON representation

THE AMAZING iMAC SCROLL EFFECT

Awesome Lists containing this project

README

        

# THE AMAZING iMAC SCROLL EFFECT

This script reproduces a similar effect used by Apple in the iMac page of its website.
The images used for the demo are from Apple's website.

## Version 1.0

[click here](http://dev.gabrielemanna.com/imac-scroll/index_v1.html) to view the demo of the version 1.

## How it is made
The image is an high resolution image, it is possible to zoom in and zoom out without loosing definition and keeping all the details of the original image.
To be able to maintain that high quality it has been used an HTML5 Canvas element created by 8 images that work in a similar way as in a puzzle where different pieces form the final one.
The Canvas has size 6500x4612px and each single unit is 1625x2306px.
After that the javascript functions replace the normal scroll events of the page with the zoom effect on the image.

## Version 2.0

[click here](http://dev.gabrielemanna.com/imac-scroll/index_v2.html) to view the demo of the version 2.

## How it is made
The image is an high resolution image, it is possible to zoom in and zoom out without loosing definition and keeping all the details of the original image.
To be able to maintain that high quality it has been used an HTML5 Canvas element created by 8 images that work in a similar way as in a puzzle where different pieces form the final one.
The Canvas has size 6500x4612px and each single unit is 1625x2306px.
After that the javascript functions scale the image changing the css.