Skip to content

owdproject/owd-app-paint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paint module for OWD Client

Simple paint module to draw on canvas with p5.js

OWD Paint module demo

Become a Patron Join us on Discord

Demo

Try it out, just open the terminal and type "paint"

Features

  • Draw on canvas with p5.js

Quick install

  • Move to your client folder, then
    # Install this module with Npm
    npm install https://github.com/hacklover/owd-app-paint
    
    # Or using Yarn
    yarn add https://github.com/hacklover/owd-app-paint
    
  • Define this module in owd-client/client.extensions.ts
    import AboutModule from "@owd-client/core/src/modules/app/about";
    import DebugModule from "@owd-client/core/src/modules/app/debug";
    import PaintModule from "owd-app-paint/client";
    
    export default {
      app: {
        modules: [
          AboutModule,
          DebugModule,
          PaintModule,
        ]
      },
      ...
  • Add this to owd-client/vite.config.ts
    optimizeDeps: {
      include: ['p5']
    }
    

Dependencies

  • p5

Compatibility

  • Open Web Desktop client v2.0.0-beta.1

License

This project is released under the MIT License