lascaux-sketch
v0.1.9
Published
Open source WebGL-based drawing tool using in React/TypeScript.
Downloads
17
Readme
Lascaux Sketch 2.0
Open source WebGL-based drawing tool using in React/TypeScript.
- Go try it now at lascaux.studio!
- Star and watch this repo!
- Follow me @marcello3d on Twitter for updates
Background
Lascaux Sketch was originally a Java Applet I wrote back in 2002 used on 2draw.net. This is a new version built from the ground up using TypeScript and WebGL.
Technical stack
- TypeScript for type-checked JavaScript
- React for UI
- Create React App for scaffolding (this may change to Next.JS)
- Vercel for deployment
- WebGL for graphics compositing
- Dexie for IndexedDB-based browser local storage
Code structure
src/
main source codedb/
local-storage related files, including storage implementationicons/
icon files (not open source!)lascaux/
main drawing app logicbrowser/
browser integrationdata-model/
core data model for drawing (strokes, gotos, modes, storage interface)test/
(tests? lol, not actually used)util/
various helper utility functionswebgl/
all drawing, blending, and compositing logic
pages/
the logic for the various pagesreact-hooks/
React helper hooksui/
misc UI components
public/
static files served on deploymentpatches/
patch-package patches for broken types
Contributing
This is a side project, but I welcome collaborators! I'm tracking and planning work in Github Projects, so be sure to check that out, and probably easiest to reach out to me on Twitter or by email.
License
Source code is licensed under Zlib open source license.
Note: Lascaux Sketch logo and name cannot to be used without permission.
Note: Font Awesome Pro icons cannot be redistributed without a license (I have one for my own usage)