Sp0ne / r3f-simple-mask-move

Simple Experience Three.js with R3F and Mask / Stencil

Home Page:https://sp0ne.github.io/r3f-simple-mask-move/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

r3f-simple-mask-move

Simple Experience Three.js with R3F and Mask / Stencil.

πŸ§ͺ v0.1.0 γ€’ πŸ–₯ Live Demo γ€’ Codesandbox


Screen Starter


πŸ’Ύ Installation

πŸ‘‡ Install the following packages

yarn

πŸ₯‘ Usage γ€’ Get Started

πŸ‘‡ Start or Build the application

yarn start
# Or
yarn preview

πŸ‘‰ Go to http://localhost:3000/r3f-simple-mask-move/

πŸ’Ύ Code Clean

yarn lint        # Run linter global
yarn format      # Run prettier format

πŸš€ Deploy on Gh-pages

yarn build && yarn deploy
# yarn deploy -- -m "Deploy to GitHub Pages"

βš™οΈ Config vite ⚑

Change config in vite.config.vue if you want:

export default defineConfig({
  base: '/r3f-simple-mask-move/', // Adapt it ! (just for GH-PAGES)
  server: {
    port: 3000 // Default 3000: Adapt it !
  }
  // ...stuff...
})

Reminder πŸ“¦:

# update dependencies. need existing yarn.lock file
yarn upgrade-interactive --latest

πŸ’Ύ Ecosystem


</πŸ’»β€> by πŸ§™β€β™‚@Sp0ne γ€’ Β© 2022 γ€’ πŸ‘‹πŸ»: vinces.io


About

Simple Experience Three.js with R3F and Mask / Stencil

https://sp0ne.github.io/r3f-simple-mask-move/


Languages

Language:JavaScript 75.4%Language:CSS 15.7%Language:HTML 8.9%