This is a simple [Next.js] + [Babylon.js] starter.
This starter runs best when using pnpm.
First install node modules:
$ pnpm install
Then run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js
. The page auto-updates as you edit the file.
You will also find two scene folders (eg: components/SceneOne
), where you can edit your scene(s).
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
To learn more about Babylon.js, take a look at the following resources:
- Babylon.js Documentation - learn about Babylon.js features and API.
- Learn react-babylonjs - an interactive react-babylonjs tutorial.