
midnightgamer
-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
FAQ
Showcase
Product
Blog
ScrollTrigger Demos
Downloads
Posts posted by midnightgamer
-
-
I am new to GSAP and animation. I am trying to make really simple animation where I want to rotate the SVG while it is rotating I want to be PINED and once it complete rotating I want to release the pin and move to new section. I applied everything but for some reason it is not getting pinned.
See the Pen vYeMpdP by midnightgamer (@midnightgamer) on CodePen
-
I am trying to create a marquee animation, everything works fine but there is a flicker or something else you can see text shifting when animation restarts. I am not sure what causing it.
See the Pen gOxPEgZ by midnightgamer (@midnightgamer) on CodePen
-
Hello Manil, I like this job post and clear most of criteria i.e my current work experience is around 1 year and 9 months. I am familiar with GSAP as well using and learning from last couple of months. I'll get happy even if I get chance to appear in interview
-
Hi, I am trying to add a sort of infinity scroll but before than I am stuck at the issue. In above pen i have 2 columns each have 16 images in it. I want to see all 16 images as i scroll down but it is not happening. I am pretty sure i using yPercetage is not the solution, but I don't know how to solve this. And idea how I can convert this into infinity scroll as well?
See the Pen vYymZbX by midnightgamer (@midnightgamer) on CodePen
-
9 minutes ago, tailbreezy said:
A few things.
Moving your .para xPercent:100, moves it to the right by the value in offsetWidth which about 8000px.
Instead you can position it with left: "100%" to be right after the right edge — making it start immediately upon entering the trigger.
Additionally, if you want the animation to happen naturally you can to add that value (8000px) to the end marker of ScrollTrigger.
Oh thanks
-
I am trying to move text from right to left on scroll but it going way to fast. I tried increasing height of section but it was not working as expected. Please help me out here.
See the Pen zYowxYY?editors=1111 by midnightgamer (@midnightgamer) on CodePen
-
2 minutes ago, akapowl said:
Hey @midnightgamer
Since you are tweening on the height, changing your transformOrigin won't do much, because it doesn't work for height.
You could simply just tween on the scaleY instead.
Oh thanks for explanation .
-
21 minutes ago, tailbreezy said:
Sorry but my container is not by default in view i need to use top:0; after using that this same thing is not working.
-
I am trying to recreate a animation but I got stuck, I am trying animate overlays I want it to come from bottom when it increasing his height and it should go to top when decreasing the height of overlay. Animation I am trying to recreate : https://dribbble.com/shots/6711379-Xd-and-Protopie-make-a-great-combination
See the Pen OJbbdKj by midnightgamer (@midnightgamer) on CodePen
-
I am trying recreate one dribble animation By Akram Khalid, When I tried to implement very first tween it working halfway fine then it suddenly completing whole animation. I am using npm package with parcel-bundler.
See the Pen MWbyrRz by midnightgamer (@midnightgamer) on CodePen
-
1 hour ago, GreenSock said:
Hey @midnightgamer. I'm a bit confused - doesn't the article explain everything? https://tympanus.net/codrops/2020/07/01/creating-a-menu-image-animation-on-hover/
Was there a GSAP-specific question we could help you with?
It dose explain but I the function for getting image follow the cursor is quite confusing and complex at same time, I think there is some simple way but I don't exactly.
-
I am trying to recreate a Codedrop post to learn and understand GSAP better, I am stuck at one point where when I move my mouse on any link the image should follow mouse as well mouse should be pointing to center of image. I figure how to move image but I am not able to position it very well .
See the Pen YzpPzqw by midnightgamer (@midnightgamer) on CodePen
-
2 hours ago, mikel said:
Hey @midnightgamer,
I don't really understand your intention.
As I said, a simple example would help.
Here is a case where elements appear (instead of disappearing) in the scrolling process.Happy tweening ...
Mikel
44 minutes ago, ZachSaucier said:I'd guess that you should set up a ScrollTrigger for each section and then do what mikel is doing in that case. As he said, if you'd like a more help a minimal demo would be very helpful.
See the Pen RwobvNX by midnightgamer (@midnightgamer) on CodePen
In this codepen I used code given by @mikel and added some thing what i need is when we scroll down and green triangle reaches red circle it should undraw just like the line.
-
28 minutes ago, mikel said:
Hey @midnightgamer,
A reduced case would be more helpful.
So here's a simple version.
Note the structure of the path: from below!Happy tweening ...
Mikel
Thanks mike but this idea is not working from me as .draw not a single svg. It is array of svgs which i am trying to undraw as hand reach near the particular item. You can see animation when page load , I need revers the same animation but using scroll trigger.
-
Hi everyone, I am trying to get hands on scrollTrigger so I took a pen and tried to apply some tweens. I am successfully moving hands as I scroll down. What I want is to undraw the line as I scroll down. I tried but it didn't worked. Help me out and if there is something is wrong in my code please correct me.
See the Pen ZEBzxON by midnightgamer (@midnightgamer) on CodePen
-
Just now, mikel said:
You any place where I can all these stuff. I am new in GSAP I want to learn GSAP for my career improvement. Do you know any platform or course that I can buy?
-
15 minutes ago, mikel said:
Hey @midnightgamer,
Please show us your attempts in the CodePen.
Comment on your problems ...Every attempt brings you further
Mikel
First I tried your solution It was working fine for first section others were behaving strange then I added one class to each section set trigger to that class yet It didn't work. Then I tried to use forEach with ScrollTrigger.Create but I was not clear with concept so I skipped it. Lastly I duplicated same code 4 times and trigger each section by thier ID yet it didn't work. I don't have code as undo all the changes.
-
On 10/1/2020 at 5:54 PM, mikel said:
This is nice but I want text box in each section and each section should behave like current effect. I tried with your code and try to figure some way out but fail It would be great if you help me out here.
Thanks
-
https://www.abc.net.au/news/2020-08-06/coronavirus-treatments-and-covid19-cure-research/12527034?nw=0 This is the refence website I want recreate white box with text. Left side is short of fixed but on scroll other white-boxes are appearing.
Thanks for help.
-
1 hour ago, mikel said:
Hey Zach,
Thanks.
Thanks It is exactly what I was looking for.
-
Hello everyone, I am fairly new with GSAP and ScrollTrigger as well. What I want is I have a div with some text in it I want to center it as user scroll it and later when it is center I want to expand it's height and width to cover whole viewport.
See the Pen JjXqMaR by midnightgamer (@midnightgamer) on CodePen
-
I new in GSAP and trying to learn it by cremating new sites.
What problem I am facing is I have 4 section and I am using fullPage.js to scroll 1 section at a time. I am using gsap to animate some elements. But all elements are getting animated. I want to stop it. Anyone help me thanks in advance,
https://codesandbox.io/s/pedantic-mestorf-d8znp?file=/src/App.js:389-412 Sandbox
-
I am trying to learn GSAP by making project. I had create this project Hosted site. I am using Farmer motion and GSAP. I added page transition but when I visit home page again there some animation that wan't to stop.
Thanks for help.
-
10 hours ago, midnightgamer said:
Thanks for sharing , Liquid effect is just one part of it. I will try to recreate page transition effect and I think that is achievable with GSAP.
10 hours ago, Ihatetomatoes said:Hi @midnightgamer, great inspiration and a beautiful effect you are trying to recreate. There is not much help I can offer without you posting a Codepen demo or anything to start with.
In other words the effect would not involve only GSAP but most likely also a canvas library such as Three.js, Pixi.js or WebGL.
You mentioned that you are trying to learn GSAP, but I don't think this effect is the easiest for a beginner.
Here are some other forum threads that might steer you in the right direction:
If you have any questions specific to GreenSock and the syntax, please ask.
Is there any platform where I can learn Farmer Motion?
Animation is not getting pin
in GSAP
Posted
Damnnnnnn, sorry about this and thanks for help