Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cdaein/ssam-examples

Example sketches created with Ssam.js
https://github.com/cdaein/ssam-examples

canvas create-ssam creative-coding generative-art javascript ssam typescript

Last synced: 24 days ago
JSON representation

Example sketches created with Ssam.js

Awesome Lists containing this project

README

        

# Ssam Examples

Sketches created with [Ssam.js](https://github.com/cdaein/ssam) to demonstrate common use cases.

Written with TypeScript. You can find JavaScript versions inside `src/js`, which are automatically compiled from TS sketches.

## Run individual Sketches

Replace `` with one of the sketch files in `src/ts`.

```sh
SKETCH=basic-drawing npm run dev
```

## Run the whole sketchbook

...

## Create your own sketch

Check out the [Ssam documentation](https://github.com/cdaein/ssam/wiki) to learn how to create a creative coding sketch with Ssam. It is recommended that you use `npm create ssam@latest` command to set up your own sketch with one of the provided templates.

## Build

To build JS version from TypeScript sketches in `src/ts`, run:

```sh
npm run jsbuild
```

To build the entire sketchbook,

...