This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
522: function(t, e, o) { | |
"use strict"; | |
o(14), | |
o(10), | |
o(11), | |
o(15), | |
o(16); | |
var n = o(4) | |
, l = o(8) | |
, r = (o(46), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DYNAMICALLY LOADING FONTS THROUGH JS | |
// ==================================== | |
async function loadDynamicFonts() { | |
const fontMd = new FontFace('NHGrotesk-65Md', 'url(fonts/web/NHG-65Md.woff2)' , { | |
weight: "650", | |
style: "normal", | |
display: "swap", | |
}) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* SplitText 3.11.5 | |
* https://greensock.com | |
* | |
* @license Copyright 2023, GreenSock. All rights reserved. | |
* This plugin is a membership benefit of Club GreenSock and is only authorized for use in sites/apps/products developed by individuals/companies with an active Club GreenSock membership. See https://greensock.com/club | |
* @author: Jack Doyle, jack@greensock.com | |
*/ | |
!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(D){"use strict";var _=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).mousemove (function(e){ | |
mouseX = e.clientX; | |
mouseY = e.clientY; | |
}) | |
setInterval (move,1000/60) | |
function move(){ | |
circle.x = lerp (circle.x, mouseX, 0.1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mouseX=window.innerWidth/2, mouseY=window.innerHeight/2; | |
var circle = { | |
el:$('#circle'), | |
x:window.innerWidth/2, y:window.innerHeight/2, w:100, h:100, | |
update:function(){ | |
l = this.x-this.w/2; | |
t = this.y-this.h/2; | |
this.el.css({ | |
'transform':'translate3d('+l+'px, '+t+'px, 0)' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mouseX = window.innerwidth/2, | |
mouseY = window.innerHeight/2; | |
var circle = { | |
el: $('#circle'), | |
x: window.innerWidth/2, | |
y: window.innerHeight/2, | |
WIDTH: 80, | |
HEIGHT: 80, | |
update = function() { |