hiddenist / drawing-app

webgl plz

Home Page:https://hiddenist.github.io/drawing-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drawing App

Screenshot

This is a 2d web-based drawing application. I started this as a hobby project, because I have no idea what a shader is and thought learning WebGL could be fun!

Check out the app here: hiddenist.github.io/drawing-app

The app is missing a number of features, most notably an undo or eraser tool. If you have an idea you want to see added, feel free to create and issue to request it. Thanks for checking this out!

Local Setup

Prerequisites

Tip

You can create a shorter alias for pnpm, such as pn, to make it easier to type.

Install packages

pnpm i

Start local dev

pnpm dev

Contributing

Installing new dependencies

This repository is a monorepo managed by pnpm. Dependencies that are installed in the root package.json will be shared among all other packagers.

To install a new package to the workspace root, you have to use the --workspace-root or -w flag.

pnpm -w i [dependency-name] --save-dev

pnpm operations, including installed dependencies, can be scoped to a specific workspace package using the --filter flag:

pnpm --filter [package-name] i [dependency-name]  --save-dev

![INFO] Read more about pnpm workspaces: https://pnpm.io/workspaces

About

webgl plz

https://hiddenist.github.io/drawing-app/


Languages

Language:TypeScript 90.9%Language:CSS 4.7%Language:GLSL 4.0%Language:HTML 0.4%