Animation with framer motion layouts not working - javascript

I have an image gallery with a filtering function. I want to animate the shifting of the images when they get filtered. I read online about using framer motion's layout feature. I saw examples emulating exactly what I want to do like this one. When I set it up in my workspace it does not work, it does weird stretch animations and looks horrible. I created a code sandbox to demonstrate the issue. I would like to fix the animation so the tiles re-order properly. Any help would be appreciated thanks!

Related

flipping & rotating images on scroll

I'm trying to replicate this scrolling effect as seen here: http://prm.ooo.
In which the image elements flip and rotate continuously on a scroll as it enters and exits the page, I know this requires jquery/javascript and not just CSS alone.
So far I am able to rotate an image while scrolling.
Does anyone know how I can achieve this?
Here is the code: http://prm.ooo/wp-content/themes/prmo/main.js you can look at the source of any page and try and figure out how they did things. People also use plugins like scrollorama for this type of thing

Image Slider Development

I am learning Image Slider Development. I am trying to develop an Image Slider like this one. I am using Scriptaculous. I placed images using img tag. In this regard, I can move images from right to left. But how can I reproduce the images at right side?? How can I make a cycling circle ?? How can I iterate images like they are adjacent to each other ??
Could anyone help me to get an Idea regarding this??
There are alot of really good places to start I would recommend How to build simple jQuery image slider with sliding or opacity effect?. You may not need the opacity but it covers good information.

Flipboard like page layout

I am trying to create an html layout that is similar to Flipboard's page flip animation.
First I thought to use some jQuery library to achieve this, but none of them seems to have all the features that I need. For example one of the libraries is BookBlock, but it uses CSS transitions for the animation, so I can't control the flip when I move my finger back and forth.
After some research I have found this excellent demo that looks almost exact match for what I need, but
it flips pages like a book, from left to right and I need this from bottom to top.
I have spent couple of hours trying to change various CSS and JavaScript properties from this demo, but I did not succeed much in changing the page's flip direction.
I do not expect somebody to write code for me but I would be glad if someone could point me in the right direction or any other suggestion.
First things first,
if you want something for long term, i would suggest you to go with some library similar to bootstrap or semantic UI (my favorite)
Semantic UI transition
Bootstrap flip example
for the finger back and forth which is swipe left and right use hammer.js
Hammer Library
On swipe left you can initiate the flip transition
Build it smaller and modular, you will eventually reach your goal

How to make owlcarousel more smooth scrolling

I am looking for an image slider which can be used by touch devices as well. I don't want to reinvent the weel and found the very nice jQuery Slider
owlcarousel.
On the page http://www.skyplugins.com/sky-jquery-touch-carousel/tooltip_skin_variation.html I found an other slider.
This slider slides more smooth without interrputions which looks much more better to me. I don't understand the technique behind this slider. Whats the difference to owlcarousel? Is it possible to merge the (much more) options from owlcarousel (example easy ajax image preloading) and make them more smooth scrolling like the other one? Does the other one only use an other css animation or is it somehow related to the jquery.touch library? I would like to understand the scrolling technique behind the second slider.
I hope you can help.
Regards Sturmi

Questions about Viewports and large image navigation

Okay, so I'm working on a project using JavaScript and the basic UI we want to be a very large background image, and when you select the navigation menu items it propels you to a section on that large image.
I've tried finding documentation on Viewports and trying to figure out how Map applications function but have had very very minimal success.
It would basically be a Google map without the user being able to slide it. How in the world would I begin to approach this?
You can set the background-image property in CSS and use javascript to change the background-position.

Categories

Resources