Canvas is a Fluid Component that displays a collaborative canvas you can draw on.
You can run this example using the following steps:
- Run
npm install
andnpm run build:fast -- --nolint
from theFluidFramework
root directory. a. For an even faster build, you can add the package name to the build command, like this:npm run build:fast -- --nolint @fluid-example/canvas
- Run
npm run start
from this directory (examples/data-objects/canvas) and open http://localhost:8080 in a web browser to see the app running.
Canvas uses the following distributed data structures:
- SharedDirectory - root
- Ink - Append only stream designed for ink scenarios