Stagnax
Members-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Everything posted by Stagnax
-
Hi, I was looking for animation on scrolling and i came across this So I played with it a little. I used scrollmagic to pin the layout during the duratoin of the box animation. So now i want to create similar animation timelines, with few changes. How do i put an individual timeline into a function and call it on scroll. Ive tried this syntax, but it doesnt seem to work : jQuery('.Screen').each(function () { var currentScreen = this; new ScrollMagic.Scene({ triggerElement: currentScreen, duration: 2000, offset: iScreenSize_H }) .on('start', function () { console.log(this.triggerElement().id); }).addTo(controller); }); Thank you .
-
hi @WarenGonzaga Thanks for the effort. But i wanted to reveal the black background after the red and blue blocks have rotated To point it perfectly as jonathan pointed out : I think you mean to rotate and have the red and blue boxes be extended past the viewport, so when rotated you don't see the black background on the body tag. Because when you view your codepen on a larger screen that is 1080p, you will also see the black body background on both right and left sides. So you will need to fix your initial HTML markup to account for when its rotated taking up half the screen for each blue and red box. Again thank you
-
@WarenGonzaga Absolutely !!
-
@WarenGonzaga I'll try that as well
-
@Sahil Lesson Learned @Jonathan I changed the code as I was trying something new, sorry for that
-
Hi @Sahil, The reason I've used canvas is because I am trying to use them as a background layout on top of the body.
-
Hi @OSUblake, Thank you for the examples and thread. One thing that I'd like to know is , and I am basically referring to JavaScript is , how do i not get tangled in creating a certain animation or achieving a certain effect or complex logical method with the overwhelming amount of resources found online as I learn everything form the web. (I've read the links you've just sent me and I noticed creating small games can really help in building logic , so I am starting to do that)
-
Hi @Carl, Sorry I meant black background. What I am trying to achieve is that ,the black background should only be visible until the red and blue layouts complete their rotation. To answer your second question I don't know it its a layout problem or GSAP . I've given 100% height and width to the canvases but still when rotation starts they rotate in rectangle rather than covering the whole screen. Sorry for my bad english I hope i made myself clear
-
I am trying to reveal the black background only after the two red and blue canvases have completed the animation. But as you can see there is "leak" and the black ground is visible during the rotation. Also I'm learning to control overflow and have found this link https://stackoverflow.com/questions/8837050/allow-specific-tag-to-override-overflowhidden , but theres something I'm doing wrong . Please Help.
-
Thank you so much
-
Hi Sahil, Thank you for the insight relation between of canvas and GSAP. As I said earlier I'm a beginner and have been trying on the features and putting them into practice. However I'm still having problem to understand all of it . You have mentioned that you could explain it in a video which I think would be really helpful Thank you again for your effort
-
Thank you I'll look into it
-
Hi, Id like to know if there is a GSAP function that can create the effect of a mouse following the cursor
-
Hello, I'm trying to use DrawSVG for the external border . As you can see I have 4 blocks that appear one by one . What I'd like to do is : As soon as the first block appears a border should start and complete its path as the last block appears I hope I'm clear what I want
-
Thank you so much. I see you've also smoothen the bicycle tire's rotation, I was looking for that. Once again thank you
- 3 replies
-
- 2
-
- timeline
- javascript
-
(and 2 more)
Tagged with:
-
I want the car to move after the bicycle has reached its end. (How to trigger a 2nd scene only after the 1st scene is completed ) Thank you in advance
- 3 replies
-
- timeline
- javascript
-
(and 2 more)
Tagged with: