update website

This commit is contained in:
CJSatnarine
2025-03-10 14:04:08 -04:00
parent b09b2521dc
commit 110fa1ed8c
10 changed files with 4691 additions and 12778 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3828,4 +3828,4 @@ void main() {
`)!==-1&&(e=e.replace(/\r\n/g,`
`)),e.indexOf(`\\
`)!==-1&&(e=e.replace(/\\\n/g,""));const n=e.split(`
`);let r=[];for(let o=0,l=n.length;o<l;o++){const c=n[o].trimStart();if(c.length===0)continue;const u=c.charAt(0);if(u!=="#")if(u==="v"){const h=c.split(ho);switch(h[0]){case"v":t.vertices.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3])),h.length>=7?(nr.setRGB(parseFloat(h[4]),parseFloat(h[5]),parseFloat(h[6]),bt),t.colors.push(nr.r,nr.g,nr.b)):t.colors.push(void 0,void 0,void 0);break;case"vn":t.normals.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3]));break;case"vt":t.uvs.push(parseFloat(h[1]),parseFloat(h[2]));break}}else if(u==="f"){const d=c.slice(1).trim().split(ho),m=[];for(let x=0,p=d.length;x<p;x++){const f=d[x];if(f.length>0){const b=f.split("/");m.push(b)}}const _=m[0];for(let x=1,p=m.length-1;x<p;x++){const f=m[x],b=m[x+1];t.addFace(_[0],f[0],b[0],_[1],f[1],b[1],_[2],f[2],b[2])}}else if(u==="l"){const h=c.substring(1).trim().split(" ");let d=[];const m=[];if(c.indexOf("/")===-1)d=h;else for(let _=0,x=h.length;_<x;_++){const p=h[_].split("/");p[0]!==""&&d.push(p[0]),p[1]!==""&&m.push(p[1])}t.addLineGeometry(d,m)}else if(u==="p"){const d=c.slice(1).trim().split(" ");t.addPointGeometry(d)}else if((r=Dp.exec(c))!==null){const h=(" "+r[0].slice(1).trim()).slice(1);t.startObject(h)}else if(Ip.test(c))t.object.startMaterial(c.substring(7).trim(),t.materialLibraries);else if(Up.test(c))t.materialLibraries.push(c.substring(7).trim());else if(Np.test(c))console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');else if(u==="s"){if(r=c.split(" "),r.length>1){const d=r[1].trim().toLowerCase();t.object.smooth=d!=="0"&&d!=="off"}else t.object.smooth=!0;const h=t.object.currentMaterial();h&&(h.smooth=t.object.smooth)}else{if(c==="\0")continue;console.warn('THREE.OBJLoader: Unexpected line: "'+c+'"')}}t.finalize();const s=new gi;if(s.materialLibraries=[].concat(t.materialLibraries),!(t.objects.length===1&&t.objects[0].geometry.vertices.length===0)===!0)for(let o=0,l=t.objects.length;o<l;o++){const c=t.objects[o],u=c.geometry,h=c.materials,d=u.type==="Line",m=u.type==="Points";let _=!1;if(u.vertices.length===0)continue;const x=new Gt;x.setAttribute("position",new vt(u.vertices,3)),u.normals.length>0&&x.setAttribute("normal",new vt(u.normals,3)),u.colors.length>0&&(_=!0,x.setAttribute("color",new vt(u.colors,3))),u.hasUVIndices===!0&&x.setAttribute("uv",new vt(u.uvs,2));const p=[];for(let b=0,T=h.length;b<T;b++){const S=h[b],U=S.name+"_"+S.smooth+"_"+_;let w=t.materials[U];if(this.materials!==null){if(w=this.materials.create(S.name),d&&w&&!(w instanceof lr)){const R=new lr;qt.prototype.copy.call(R,w),R.color.copy(w.color),w=R}else if(m&&w&&!(w instanceof vi)){const R=new vi({size:10,sizeAttenuation:!1});qt.prototype.copy.call(R,w),R.color.copy(w.color),R.map=w.map,w=R}}w===void 0&&(d?w=new lr:m?w=new vi({size:1,sizeAttenuation:!1}):w=new Oc,w.name=S.name,w.flatShading=!S.smooth,w.vertexColors=_,t.materials[U]=w),p.push(w)}let f;if(p.length>1){for(let b=0,T=h.length;b<T;b++){const S=h[b];x.addGroup(S.groupStart,S.groupCount,b)}d?f=new Fa(x,p):m?f=new Wr(x,p):f=new Dt(x,p)}else d?f=new Fa(x,p[0]):m?f=new Wr(x,p[0]):f=new Dt(x,p[0]);f.name=c.name,s.add(f)}else if(t.vertices.length>0){const o=new vi({size:1,sizeAttenuation:!1}),l=new Gt;l.setAttribute("position",new vt(t.vertices,3)),t.colors.length>0&&t.colors[0]!==void 0&&(l.setAttribute("color",new vt(t.colors,3)),o.vertexColors=!0);const c=new Wr(l,o);s.add(c)}return s}}const Bp="/assets/head-DD9xLfml.obj",Qs=new Dc,qo=new Lt(75,window.innerWidth/window.innerHeight,.1,1e3),vr=new Lp;let Yo=new ut;vr.setSize(window.innerWidth,window.innerHeight);vr.setAnimationLoop(Vp);document.body.appendChild(vr.domElement);qo.position.z=3;const zp=new Xc(16777147,526368,1);Qs.add(zp);const Hp=new Op;Hp.load(Bp,function(i){console.log(i),Yo=i,i.traverse(e=>{e instanceof Dt&&(e.material=new Fc({color:9842686}),e.material.wireframe=!0,e.material.wireframeLinewidth=1,e.material.emissive=new De().setHex(9842686))}),Qs.add(i)},function(i){console.log(i.loaded/i.total*100+"% loaded")},function(i){console.log("an error happened",i)});function Vp(){Yo.rotateY(-ic.degToRad(2)),vr.render(Qs,qo)}
`);let r=[];for(let o=0,l=n.length;o<l;o++){const c=n[o].trimStart();if(c.length===0)continue;const u=c.charAt(0);if(u!=="#")if(u==="v"){const h=c.split(ho);switch(h[0]){case"v":t.vertices.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3])),h.length>=7?(nr.setRGB(parseFloat(h[4]),parseFloat(h[5]),parseFloat(h[6]),bt),t.colors.push(nr.r,nr.g,nr.b)):t.colors.push(void 0,void 0,void 0);break;case"vn":t.normals.push(parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3]));break;case"vt":t.uvs.push(parseFloat(h[1]),parseFloat(h[2]));break}}else if(u==="f"){const d=c.slice(1).trim().split(ho),m=[];for(let x=0,p=d.length;x<p;x++){const f=d[x];if(f.length>0){const b=f.split("/");m.push(b)}}const _=m[0];for(let x=1,p=m.length-1;x<p;x++){const f=m[x],b=m[x+1];t.addFace(_[0],f[0],b[0],_[1],f[1],b[1],_[2],f[2],b[2])}}else if(u==="l"){const h=c.substring(1).trim().split(" ");let d=[];const m=[];if(c.indexOf("/")===-1)d=h;else for(let _=0,x=h.length;_<x;_++){const p=h[_].split("/");p[0]!==""&&d.push(p[0]),p[1]!==""&&m.push(p[1])}t.addLineGeometry(d,m)}else if(u==="p"){const d=c.slice(1).trim().split(" ");t.addPointGeometry(d)}else if((r=Dp.exec(c))!==null){const h=(" "+r[0].slice(1).trim()).slice(1);t.startObject(h)}else if(Ip.test(c))t.object.startMaterial(c.substring(7).trim(),t.materialLibraries);else if(Up.test(c))t.materialLibraries.push(c.substring(7).trim());else if(Np.test(c))console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');else if(u==="s"){if(r=c.split(" "),r.length>1){const d=r[1].trim().toLowerCase();t.object.smooth=d!=="0"&&d!=="off"}else t.object.smooth=!0;const h=t.object.currentMaterial();h&&(h.smooth=t.object.smooth)}else{if(c==="\0")continue;console.warn('THREE.OBJLoader: Unexpected line: "'+c+'"')}}t.finalize();const s=new gi;if(s.materialLibraries=[].concat(t.materialLibraries),!(t.objects.length===1&&t.objects[0].geometry.vertices.length===0)===!0)for(let o=0,l=t.objects.length;o<l;o++){const c=t.objects[o],u=c.geometry,h=c.materials,d=u.type==="Line",m=u.type==="Points";let _=!1;if(u.vertices.length===0)continue;const x=new Gt;x.setAttribute("position",new vt(u.vertices,3)),u.normals.length>0&&x.setAttribute("normal",new vt(u.normals,3)),u.colors.length>0&&(_=!0,x.setAttribute("color",new vt(u.colors,3))),u.hasUVIndices===!0&&x.setAttribute("uv",new vt(u.uvs,2));const p=[];for(let b=0,T=h.length;b<T;b++){const S=h[b],U=S.name+"_"+S.smooth+"_"+_;let w=t.materials[U];if(this.materials!==null){if(w=this.materials.create(S.name),d&&w&&!(w instanceof lr)){const R=new lr;qt.prototype.copy.call(R,w),R.color.copy(w.color),w=R}else if(m&&w&&!(w instanceof vi)){const R=new vi({size:10,sizeAttenuation:!1});qt.prototype.copy.call(R,w),R.color.copy(w.color),R.map=w.map,w=R}}w===void 0&&(d?w=new lr:m?w=new vi({size:1,sizeAttenuation:!1}):w=new Oc,w.name=S.name,w.flatShading=!S.smooth,w.vertexColors=_,t.materials[U]=w),p.push(w)}let f;if(p.length>1){for(let b=0,T=h.length;b<T;b++){const S=h[b];x.addGroup(S.groupStart,S.groupCount,b)}d?f=new Fa(x,p):m?f=new Wr(x,p):f=new Dt(x,p)}else d?f=new Fa(x,p[0]):m?f=new Wr(x,p[0]):f=new Dt(x,p[0]);f.name=c.name,s.add(f)}else if(t.vertices.length>0){const o=new vi({size:1,sizeAttenuation:!1}),l=new Gt;l.setAttribute("position",new vt(t.vertices,3)),t.colors.length>0&&t.colors[0]!==void 0&&(l.setAttribute("color",new vt(t.colors,3)),o.vertexColors=!0);const c=new Wr(l,o);s.add(c)}return s}}const Bp="/assets/wolf_head-BqdgrzGy.obj",Qs=new Dc,qo=new Lt(75,window.innerWidth/window.innerHeight,.1,1e3),vr=new Lp;let Yo=new ut;vr.setSize(window.innerWidth,window.innerHeight);vr.setAnimationLoop(Vp);document.body.appendChild(vr.domElement);qo.position.z=3;const zp=new Xc(16777147,526368,1);Qs.add(zp);const Hp=new Op;Hp.load(Bp,function(i){console.log(i),Yo=i,i.traverse(e=>{e instanceof Dt&&(e.material=new Fc({color:9842686}),e.material.wireframe=!0,e.material.wireframeLinewidth=1,e.material.emissive=new De().setHex(9842686))}),Qs.add(i)},function(i){console.log(i.loaded/i.total*100+"% loaded")},function(i){console.log("an error happened",i)});function Vp(){Yo.rotateY(-ic.degToRad(1)),vr.render(Qs,qo)}

1
dist/assets/index-BjZe3bm5.css vendored Normal file
View File

@@ -0,0 +1 @@
body{background-color:#000;font-family:Roboto Mono}#construction{position:absolute;color:#f5f5f5;top:10px;width:100%;text-align:center;z-index:100;display:block}a:link,a:visited,a:hover,a:active{color:#962ffe;background-color:transparent;text-decoration:none}h1{color:#962ffe}p{color:#fff}center{color:#962ffe}

2289
dist/assets/wolf_head-BqdgrzGy.obj vendored Normal file

File diff suppressed because it is too large Load Diff

59
dist/index.html vendored
View File

@@ -1,33 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=" utf-8">
<title> CJ Satnarine website </title>
<style>
body {
margin: 0;
}
</style>
<script type="module" crossorigin src="/assets/index-BUDA2-Ca.js"></script>
<head>
<meta charset=" utf-8">
<title> CJ Satnarine </title>
<script type="module" crossorigin src="/assets/index-B1ZRUS1T.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BjZe3bm5.css">
</head>
<body>
<link href='https://fonts.googleapis.com/css?family=Roboto Mono' rel='stylesheet'>
<body style="background-color:black; font-family:'Roboto Mono';">
<p style="color:rgb(150, 47, 254)" >
Hey... I'm CJ! But you can call me CJ... I'm usually kept to myself, I'm really shy... I don't want the other girls to know that... that I'm not like the other girls... that I'm actually a werewolf fairy princess with demon powers I gained from my werewolf fairy princess father and demon mother... I sometimes can't keep these powers to myself... but I have to learn how to control them in order to save the world! So yeah, that's me!
</p>
<hr/>
<center>
<a href="https://evilr.ing/cjsatnarine/previous">&lt;</a>
<a href="https://evilr.ing">EVILRING</a>
<a href="https://evilr.ing/cjsatnarine/next">&gt;</a>
</center>
<body>
<div id="construction"> Website under Construction! </div>
</body>
<h1>
CJ Satnarine
</h1>
<p>
Hey... I'm CJ! But you can call me CJ... As you can tell, this website is currently under construction. I'll
be updating it slowly as I learn more web development. I'm remaking this website with <a
href="https://www.getzola.org/" target="_blank">Zola</a> because I want to write blogs and devlogs in
the future.
</p>
<p>
Any way, I'm an aspriring graphics programmer from Waterloo, Ontario.
I've got a few interests weird interests in linguistics, history, maths, 3D animation, game development, and
art.
Currently, I'm spending a lot of my time learning a lot of things relating to my interests.
You can check out my <a href="https://github.com/CJSatnarine" target="_blank">Github</a> to see what I'm up
to.
</p>
<center>
<a href="https://evilr.ing/cjsatnarine/previous">&lt;</a>
<a href="https://evilr.ing">EVILRING</a>
<a href="https://evilr.ing/cjsatnarine/next">&gt;</a>
</center>
</body>
</html>