I'm totally blown away by the slideshow at https://paydirtapp.com/ , anyone got any clues on how it was achieved ? I'm guessing it's some complex html5 canvas mumbo-jumbo ?
Awesome loupe/magnifying effect on slideshow at Paydirt's homepage
745 views Asked by Winterain At
1
There are 1 answers
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
Related Questions in HTML
- Delay in loading Html Page(WebView) from assets folder in real android device
- Why does a function show up as not defined
- CSS Class is not applying to element (border width,color,and style attributes)
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- Automatically closing tags in form input?
- Positioning child at bottom of parent with scroll
- Remove added set of rows
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
Related Questions in SLIDESHOW
- Multiple jQuery slideshows won't stay in sync
- backgrounds Slideshow, but text scrolling
- change jquery malsup.cycle2 to multi layer slide show
- Scrolling image slideshow
- How to clear the index of ngrepeat in a modal
- Infinite looped vertical slider with no pause
- iOS: SDWebImageManager not caching image
- Bootstrap Carousel not working correctly
- Flexslider with a popup Gallery
- setTimeout controls
Related Questions in EFFECT
- CSS: Skew a buttons border, not the text
- Fade in new background image images on scroll
- Keep hover effect activated to smart phones & tablets
- iphone - custom UIAlertView block effect
- Vue.js page transition fade effect with vue-router
- Link in typed.js text
- Resize Responsive image without stretch + zoom effect on image link
- Average Effectiveness of Variables in Binary Logistic Model
- When scroll wordpress header change
- Shadow effect and blurry text
Related Questions in LOUPE
- How to optimize drawing of a UIView that contains subviews with CATiledLayer layers
- Magnify a specific area of the screen
- How can I customise jquery loupe to have a circular lens?
- jQuery PrettyPhoto/Lightbox with Loupe Magnifier
- Re-bind jquery plugin to selector after property change?
- Awesome loupe/magnifying effect on slideshow at Paydirt's homepage
- How to display Magnifying glass of IOS when pangesture or tapgesture
- Implementing magnifier/loupe for custom dynamic view on android
- Galleriffic and Loupe Magnify Issue
- jQuery loupe & prettyPhoto - how can I make them both working?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
TL;DR: Use your browser's inspector to find it all out!
There's probably not as much canvas use as you would expect. Using the browser inspector, you can quickly see the basics of what's going on here:
As you can see from above, there are three main components: the magnifier, the screenshots and the messages. Using CSS3, the drop shadow and circular effect are made (box-shadow & border-radius) for each of the parts of the magnifier (shadow, glow, and canvas).
The canvas part is simply the image that is under the magnifying glass. Using canvas gives the ability to blur the image (when the magnifying glass animates. The container of those three elements manages moving and sizing (scale). The circular cropping-like effect is done with just a border-radius style.
The
image_wrapperclass holds all the individual screenshots that the tour goes through. There are higher resolution images than are required probably because the canvas element won't have to load separate images for the "zoomed" in versions.An then there's the
magnifier_messageclass which simply contains the text. It's updated via javascript - nothing too fancy here.To wrap it all up, the parent that contains these three elements has the background image (of the OSX desktop).
For the canvas work - it's not for the faint of heart - they're in javascript under
/assets/promo-0e644...jsfile. Webkit's inspector can reformat the javascript so it's a bit more readable if you want to have a good read (It's the curly braces button on the bottom of the window):Sadly, the sideshow doesn't degrade gracefully (or any sign of progressive enhancement) :(