ICT30016-Assignment-3/node_modules/.cache/babel-loader/8a755760d62f4c2f4222a46c27ee60149381596244a3779039db7b2d76c5a4f1.json
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

1 line
No EOL
1.1 KiB
JSON

{"ast":null,"code":"// Accepts an easing function and returns a new one that outputs mirrored values for\n// the second half of the animation. Turns easeIn into easeInOut.\nconst mirrorEasing = easing => p => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\nexport { mirrorEasing };","map":{"version":3,"names":["mirrorEasing","easing","p"],"sources":["/Users/davidl/Nextcloud/Uni/Swinburne/ICT30016 - ICT Project/Assignment 3/incident-response-game/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs"],"sourcesContent":["// Accepts an easing function and returns a new one that outputs mirrored values for\n// the second half of the animation. Turns easeIn into easeInOut.\nconst mirrorEasing = (easing) => (p) => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\n\nexport { mirrorEasing };\n"],"mappings":"AAAA;AACA;AACA,MAAMA,YAAY,GAAIC,MAAM,IAAMC,CAAC,IAAKA,CAAC,IAAI,GAAG,GAAGD,MAAM,CAAC,CAAC,GAAGC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAGD,MAAM,CAAC,CAAC,IAAI,CAAC,GAAGC,CAAC,CAAC,CAAC,IAAI,CAAC;AAEpG,SAASF,YAAY","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}