Skip to content

Rio-Lv/p5ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast P5 Typescript Setup

p5ts_demo

About

p5ts is a Node Package Execution that generates a Typescript implementation of the popular visual graphics library p5js which is usually written in Javascript. This allows you to use that lovely ES6 syntax with the amazing p5js library

Getting Started

Create a template

$ npx p5ts <your-app-name>

Run sketch

$ cd <your-app-name>
$ npm start

you can find the sketch in src/sketch.ts

How it works