{"id":18447568,"url":"https://github.com/eliooooooo/integration-gsap","last_synced_at":"2026-03-19T04:25:41.142Z","repository":{"id":226404536,"uuid":"767452792","full_name":"eliooooooo/Integration-GSAP","owner":"eliooooooo","description":"My personal GSAP documentation. From my learning of GSAP","archived":false,"fork":false,"pushed_at":"2024-03-21T11:15:01.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T22:29:51.515Z","etag":null,"topics":["documentation","gsap-animation","gsap-scrolltrigger","gsap-timeline"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eliooooooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T10:17:19.000Z","updated_at":"2024-03-21T11:15:04.000Z","dependencies_parsed_at":"2024-03-21T12:42:24.374Z","dependency_job_id":null,"html_url":"https://github.com/eliooooooo/Integration-GSAP","commit_stats":null,"previous_names":["eliooooooo/integration-gsap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eliooooooo/Integration-GSAP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliooooooo%2FIntegration-GSAP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliooooooo%2FIntegration-GSAP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliooooooo%2FIntegration-GSAP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliooooooo%2FIntegration-GSAP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliooooooo","download_url":"https://codeload.github.com/eliooooooo/Integration-GSAP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliooooooo%2FIntegration-GSAP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29816048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation","gsap-animation","gsap-scrolltrigger","gsap-timeline"],"created_at":"2024-11-06T07:13:49.209Z","updated_at":"2026-02-25T09:32:30.061Z","avatar_url":"https://github.com/eliooooooo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSAP Help\n\n## Création d'une animation :\nDe base, une animation se lance directement au chargement de la page.  \n```javascript\n  let container = document.querySelectorAll('.background');\n  gsap.from(\".circle\", {duration: 0.5, y:100, ease:\"back\", stagger:0.1});\n  gsap.to(container, {opacity: 0, x: 500});\n```\n`from()/to` correspond au départ ou à la finalité de l'animation  \n`\".circle\"` sélecteur de l'objet à animer  \n`duration/opacity/ease/...` les différents attributs de l'animation  \n  \nIl est possible de déclarer des fonctions dans les attributs.\n```javascript\n  gsap.from(\".circle\", {duration: 1, y: () =\u003e Math.random()*400 - 200});\n```  \n\n## Création d'une timeline :\nLa timeline permet d'organiser de manière réactive le déclenchement des animations.  \n```javascript\n  let tl = gsap.timeline({reapeat: -1, yoyo: true});\n  tl.addLabel(\"timer\", \"+=3\");\n  tl.from(circle, {duration: 1, y: 100, opacity: 0, stagger: 0.5, ease: 'elastic'}, \"-=1\");\n  tl.to(background, {duration: 2, rotation: 360, ease: 'elastic'}, \"timer\");\n```\n`tl.addLabel` Permet de définir une variable de temps.   \n`\"-=1\"` Permet de définir le départ de l'animation par rapport à l'animation qui la précède.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliooooooo%2Fintegration-gsap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliooooooo%2Fintegration-gsap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliooooooo%2Fintegration-gsap/lists"}