Skip to content

Commit 822f6bb

Browse files
committed
Add dice demo
1 parent 6c79d04 commit 822f6bb

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

public/images/dice.png

117 KB
Loading

src/constants/content.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,17 @@ export const PROJECTS = [
112112
tech: ['Three.js', 'GLSL'],
113113
playUrl: 'https://kavalcio-playground.vercel.app/dither',
114114
githubUrl:
115-
'https://github.com/kavalcio/three-js-playground/blob/main/src/demos/dither.js',
115+
'https://github.com/kavalcio/three-js-playground/blob/main/src/pages/Dither',
116+
},
117+
{
118+
id: 'dice',
119+
title: 'Dice Roller [WIP]',
120+
hook: 'A demo that allows rolling 4, 6, 8, 10, 12 or 20-sided dice in a 3D environment using physics simulation powered by the Rapier.js library. The total of the rolled dice is calculated using raycasting and shown on screen.',
121+
img: '/images/dice.png',
122+
tech: ['Three.js'],
123+
playUrl: 'https://kavalcio-playground.vercel.app/dice-fiber',
124+
githubUrl:
125+
'https://github.com/kavalcio/three-js-playground/blob/main/src/pages/DiceFiber',
116126
},
117127
{
118128
id: 'inkblot',
@@ -122,7 +132,7 @@ export const PROJECTS = [
122132
tech: ['Three.js', 'GLSL'],
123133
playUrl: 'https://kavalcio-playground.vercel.app/inkblot',
124134
githubUrl:
125-
'https://github.com/kavalcio/three-js-playground/blob/main/src/demos/inkblot.js',
135+
'https://github.com/kavalcio/three-js-playground/blob/main/src/pages/Inkblot',
126136
},
127137
{
128138
id: 'combat-robot',

0 commit comments

Comments
 (0)