Jonatandb / threejs_portfolio

ThreeJS 3D Portfolio (React + Vite + TailwindCSS)

Home Page:http://jonatandb.dev.ar/threejs_portfolio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React + Vite + ThreeJS - 3D Portfolio

Tech Stack

  • React, Vite, TailwindCSS, ThreeJS, GSAP

Preview

screenshot

Online version

https://jonatandb.dev.ar/threejs_portfolio/


Run Locally

Clone the project

  git clone https://github.com/Jonatandb/threejs_portfolio

Go to the project directory

  cd threejs_portfolio

Install dependencies

  pnpm install
  • You can also use npm or yarn. But stay consistent to avoid problems.

Start the server

  pnpm run dev

Visit:


Production build for Github Pages

Build the project:

  pnpm build

Update paths to resources to include project name:

  • Open "docs\assets\index-[hashed part].js"
  • Search for and replace this paths:
    • "/assets/" -> "/threejs_portfolio/assets/"
    • "/models/" -> "/threejs_portfolio/models/"
    • "/textures/" -> "/threejs_portfolio/textures/"

Useful websites

  • Three.js โ€“ JavaScript 3D Library.
  • GLTF convertor โ€“ ๐ŸŽฎ Turns GLTFs into JSX components.
  • Sketchfab โ€“ ๐Ÿš— 3D Models.
  • GSAP โ€“ A wildly robust JavaScript animation library built for professionals.
  • React-globe.gl โ€“ React component for Globe Data Visualization using ThreeJS/WebGL.
  • EmailJS โ€“ Send email directly from your code โ€“ no server side code required.
  • <model-viewer> โ€“ Easily display interactive 3D models on the web & in AR.
  • glTF Viewer
  • RealFaviconGenerator โ€“ Favicon generator. For real.

Author