Skip to content

A collection of example sketches created with sketch-wrapper

Notifications You must be signed in to change notification settings

cdaein/sketch-wrapper-examples

Repository files navigation

sketch-wrapper-examples

A collection of sketches that demonstrate the use of sketch-wrapper and other libraries used together.

How to run

  1. Download or clone this repo to your machine.
  2. cd into the downloaded folder.
  3. Intall the dependencies by running npm install in your Terminal. You need to have Node.js installed on your computer.
  4. To run the sketch, in the Terminal, run npm start. The repo uses Vite.js for dev server.
  5. Open the browser and go to the localhost. By default, it is http://localhost:5173/.
  6. In the examples folder, there are both TypeScript and JavaScript sketches. JS sketches are compiled from TS. To run any of the sketches, update the <script> tag in index.html to point to a JS or TS sketch.

Outputs

Click each image to see the TypeScript source code.

2d-basic 2d-resize ogl-cube
2d basic 2d resize ogl cube
pts-grid two-basic webgl-basic
pts grid two basic webgl basic

About

A collection of example sketches created with sketch-wrapper

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published