=x&&q!==x||!x)&&(e(x),T||u())),o("update"),p>=x&&(i.remaining?(g=l,i.direction==="alternate"&&(i.reversed=!i.reversed)):(i.pause(),i.completed||(i.completed=!0,o("complete"),"Promise"in window&&(I(),P=r()))),c=0)}t=t===void 0?{}:t;var l,g,c=0,I=null,P=r(),i=xt(t);return i.reset=function(){var p=i.direction,x=i.loop;for(i.currentTime=0,i.progress=0,i.paused=!0,i.began=!1,i.completed=!1,i.reversed=p==="reverse",i.remaining=p==="alternate"&&x===1?2:x,e(0),p=i.children.length;p--;)i.children[p].reset()},i.tick=function(p){l=p,g||(g=l),a((c+l-g)*b.speed)},i.seek=function(p){a(n(p))},i.pause=function(){var p=O.indexOf(i);-1=r&&0<=e&&1>=e){var u=new Float32Array(11);if(r!==n||e!==o)for(var a=0;11>a;++a)u[a]=t(.1*a,r,e);return function(l){if(r===n&&e===o)return l;if(l===0)return 0;if(l===1)return 1;for(var g=0,c=1;c!==10&&u[c]<=l;++c)g+=.1;--c;var c=g+(l-u[c])/(u[c+1]-u[c])*.1,I=3*(1-3*e+3*r)*c*c+2*(3*e-6*r)*c+3*r;if(.001<=I){for(g=0;4>g&&(I=3*(1-3*e+3*r)*c*c+2*(3*e-6*r)*c+3*r,I!==0);++g)var P=t(c,r,e)-l,c=c-P/I;l=c}else if(I===0)l=c;else{var c=g,g=g+.1,i=0;do P=c+(g-c)/2,I=t(P,r,e)-l,0++i);l=P}return t(l,n,o)}}}}(),ot=function(){function t(a,l){return a===0||a===1?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-l/(2*Math.PI)*Math.asin(1))*Math.PI/l)}var r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],t],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(a,l){return 1-t(1-a,l)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(a,l){return .5>a?t(2*a,l)/2:1-t(-2*a+2,l)/2}]},e={linear:V(.25,.25,.75,.75)},o={},u;for(u in n)o.type=u,n[o.type].forEach(function(a){return function(l,g){e["ease"+a.type+r[g]]=f.fnc(l)?l:V.apply(at,l)}}(o)),o={type:o.type};return e}(),At={css:function(t,r,n){return t.style[r]=n},attribute:function(t,r,n){return t.setAttribute(r,n)},object:function(t,r,n){return t[r]=n},transform:function(t,r,n,e,o){e[o]||(e[o]=[]),e[o].push(r+"("+n+")")}},O=[],Z=0,It=function(){function t(){Z=requestAnimationFrame(r)}function r(n){var e=O.length;if(e){for(var o=0;oe&&(r.duration=o.duration),r.children.push(o)}),r.seek(0),r.reset(),r.autoplay&&r.restart(),r},r},b.random=function(t,r){return Math.floor(Math.random()*(r-t+1))+t},b})})(ut);var St=ut.exports;export{St as a};
diff --git a/dist/index.html b/dist/index.html
index 5610c24..c6325a2 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -2,10 +2,11 @@
-
+
Vite App
-
+
+
diff --git a/dist/manifest.json b/dist/manifest.json
index 9fb85e9..99580c4 100644
--- a/dist/manifest.json
+++ b/dist/manifest.json
@@ -1,10 +1,16 @@
{
"index.html": {
- "file": "assets/index.afbaff29.js",
+ "file": "assets/index.3ef86db5.js",
"src": "index.html",
"isEntry": true,
+ "imports": [
+ "_vendor.76310b1c.js"
+ ],
"css": [
"assets/index.96c48a4b.css"
]
+ },
+ "_vendor.76310b1c.js": {
+ "file": "assets/vendor.76310b1c.js"
}
}
\ No newline at end of file
diff --git a/index.html b/index.html
index f1dedb5..27a631e 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
-
+
Vite App
diff --git a/index.php b/index.php
index 718783e..b80368e 100644
--- a/index.php
+++ b/index.php
@@ -68,7 +68,7 @@
// ! It's me! ?>
-
+
Vael Victus
@@ -85,11 +85,11 @@
- My name is Spencer "Vael" Victus. I work in the financial tech industry and in my spare time I run
tinydark , an ethics-focused indie game microstudio. I spend most of my time making games, playing games, and raising my kids.
+ My name is Spencer "Vael" Victus. I work in the financial tech industry and in my spare time I run
tinydark , an ethics-focused indie game microstudio.
- I live in upstate South Carolina with my wife,
Evelyn Victus , and our two kids: Abel (=$abel?> old) and Violet (=$violet?> old).
+ I live in upstate South Carolina with my wife,
Evelyn Victus , and our two kids: Abel (=$abel?> old) and Violet (=$violet?> old). I spend most of my time making games, playing games, and raising my kids.
diff --git a/main.js b/main.js
index 108d105..4f76d00 100644
--- a/main.js
+++ b/main.js
@@ -1,5 +1,22 @@
import './css/style.css'
+import anime from 'animejs'
+
+var textWrapper = document.querySelector('#vael_victus');
+textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "$& ");
+
+anime.timeline({loop: false})
+ .add({
+ targets: '#vael_victus .letter',
+ translateX: [40,0],
+ translateZ: 0,
+ opacity: [0,1],
+ easing: "easeOutExpo",
+ duration: 2500,
+ delay: (el, i) => 100 + 30 * i
+ });
+
+// ! HELPERS
window.copyToClipboard = function(message) {
var textArea = document.createElement("textarea");
textArea.value = message;
@@ -21,4 +38,5 @@ window.copyToClipboard = function(message) {
}
document.body.removeChild(textArea);
-}
\ No newline at end of file
+}
+
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 563fe76..4965dbc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -121,6 +121,11 @@
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA=="
},
+ "animejs": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/animejs/-/animejs-2.2.0.tgz",
+ "integrity": "sha1-Ne79/FNbgZScnLBvCz5gwC5v3IA="
+ },
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
diff --git a/package.json b/package.json
index 6d8069b..d0b8d81 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "Personal/Portfolio Website",
"main": "base.js",
"dependencies": {
+ "animejs": "^2.2.0",
"autoprefixer": "^10.4.0",
"postcss": "^8.3.11",
"postcss-import": "^14.0.2",