APPLICATION DESIGN II - LECTURE

03/05/2023
Hansel Ribowo/BDCM
App Design II
Lecture


Lecture

In this week we learning how to animate our website. We start by learning how to use Gsap website to help us with the animation of the website,


Then we try to animate our website logo by using script that we copy from Gsap. First we need to load Gsap into HTML page we need to add script in visual studio code which is this


After adding the script now we can add the animation from Gsap, our lecture want us to the animation for the logo so this the code for the animation


First we need to add id to the logo.


and then add the Gsap at the java script section.


This one is for adding ease in/out for the animation


After that, we added some animation delay to make it come one by one.


This animation for the side panel that when we press it will show the menu to animate the section we need to add the animation when open and close the panel.

now we making the main logo to show first and then continue to the main page like when opening mobile app


This is to make the logo and adding main container id to the main page.


This is the CSS for the logo screen and the main container.


This is the java script code for the animation.


This week we learn about adding a timeline to the animation so the animation will be showing 1 by 1 without adding delay to the script.

after that we also using the timeline for the side panel animation.
now we use t2.reverse to do the close panel when clicking the panel again.

After that we learn about how to go to second page by pressing profile image, first we making the second page first after that were do the script by making function loadpage2 and gotopage2. in the gotopage2 is to reverse the animation for the transaction, and loadpage2 for load the second page to appear. Also add onClick function to the profile image.




Next we learn about adding svg files into the coding, with Adobe Illustrator. The coding will show when you save as SVG and then show the code in Illustrator.

After that we do animation to each layer of the SVG with gsap.









Comments

Popular posts from this blog

MAJOR PROJECT - FINAL YEAR PROJECT

APPLICATION DESIGN II - EXERCISE 1