All Projects → williamngan → Pts

williamngan / Pts

Licence: apache-2.0
A library for visualization and creative-coding

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pts

Glisp
A Lisp-based Design Tool Bridging Graphic Design and Computational Arts
Stars: ✭ 519 (-88.79%)
Mutual labels:  graphics, generative-art, creative-coding, design
JRubyArt
JRubyArt a ruby implementation of processing
Stars: ✭ 87 (-98.12%)
Mutual labels:  art, creative-coding, sound, generative-art
P5.js
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
Stars: ✭ 16,542 (+257.43%)
Mutual labels:  graphics, sound, art, design
Awesome Creative Coding
Creative Coding: Generative Art, Data visualization, Interaction Design, Resources.
Stars: ✭ 8,696 (+87.9%)
Mutual labels:  generative-art, art, creative-coding, design
Plutovg
Tiny 2D vector graphics library in C
Stars: ✭ 141 (-96.95%)
Mutual labels:  vector, graphics, svg, canvas
generative-art
Generative art experiments
Stars: ✭ 113 (-97.56%)
Mutual labels:  creative-coding, generative-art, generative
Generative-Art
A selection of generative art scripts written in Python
Stars: ✭ 284 (-93.86%)
Mutual labels:  art, generative-art, generative
Mojs
The motion graphics toolbelt for the web
Stars: ✭ 17,189 (+271.41%)
Mutual labels:  graphics, svg, design
Generativeart
Generative Art in Go
Stars: ✭ 313 (-93.24%)
Mutual labels:  generative, generative-art, creative-coding
Weir
A system for making generative systems
Stars: ✭ 451 (-90.25%)
Mutual labels:  generative, generative-art, art
generative-art-Processing
Processingによるアート作品をまとめたリポジトリです.一部の作品はopenFrameworksで書かれています.This is a repository for art portfolio of Processing art. Some of arts are written in openFrameworks, one of the C++ libraries.
Stars: ✭ 31 (-99.33%)
Mutual labels:  art, creative-coding, generative-art
book-mdpc
Il cinema tra le righe... di codice!
Stars: ✭ 59 (-98.73%)
Mutual labels:  art, generative-art, generative
Sofloo Spot
Click Randomize
Stars: ✭ 37 (-99.2%)
Mutual labels:  generative, generative-art, art
Snek
See https://github.com/inconvergent/weir instead
Stars: ✭ 696 (-84.96%)
Mutual labels:  generative, generative-art, art
Allsketchs
Processing sketches, in which I have worked in the last years; images, videos, prototypes, experiments, tools, works, concepts... Everything is unfinished, some may not work, When I had no ideas, I would open one to see what it was...
Stars: ✭ 666 (-85.61%)
Mutual labels:  generative, art, design
generative-art
🌈🎨 Generative Art is the idea realized as genetic code of artificial events, as construction of dynamic complex systems able to generate endless variations. This is also a nuxt-module (@luxdamore/nuxt-canvas-sketch) - [three.js, tensorflow.js and gsap are not included].
Stars: ✭ 41 (-99.11%)
Mutual labels:  art, creative-coding, generative-art
microbium-app
Draw new worlds
Stars: ✭ 89 (-98.08%)
Mutual labels:  art, creative-coding, generative-art
corruption-loops
Digitally disintegrating music
Stars: ✭ 37 (-99.2%)
Mutual labels:  art, generative-art, generative
SuperformulaSVG
2D superformula line-art generator built in Processing, with SVG export for use in digital fabrication workflows.
Stars: ✭ 40 (-99.14%)
Mutual labels:  art, vector, generative
glitch-image
🖼 Generate and save unique glitchy images
Stars: ✭ 46 (-99.01%)
Mutual labels:  art, generative-art, generative

Pts

image

Pts is a typescript/javascript library for visualization and creative-coding.

Get started at ptsjs.org.

Please give it a try, file issues, and send feedbacks to @williamngan. Thank you!


Usage

Option 1
Get the latest pts.js or pts.min.js (in dist folder). Alternatively use a CDN service like cdnjs or jsdelivr or unpkg. Then add it to your html page like this:

<script type="text/javascript" src="path/to/pts.js"></script>

Pts is pretty lightweight. Currently at ~90kb minified and 26kb gzipped.

Option 2:
Install via npm install pts. Then you can choose to import some parts of Pts into your project as needed.

import {CanvasSpace, Pt, Group, Line} from 'pts';

To quickly get started, try download or clone these repos:

Get Started
Read the guides and take a look at the demos and their source code.
If you need help, please don't hesitate to file an issue.


For development

Pts is written in typescript. You can clone or fork this project and build it as follows:

Build and test

Clone this repo and install dependencies via npm install.

npm start
npm run build
npm test

Generate documentations

Run this to generate Pts styled documentations. (Requires python 3.6)

npm run docs 

If you prefer to generate default typedocs, run this:

typedoc --readme none --out typedocs src --name Pts

Generate typescript declaration files and minify

npm run typings
npm run minify

Contributing

We appreciate your support and feedbacks!

Please file issues if you find bugs and have feature requests. If you are able to send small PRs to improve Pts or fix bugs, that would be awesome too.

For larger PRs, please ping @williamngan to discuss first.


License

Apache License 2.0. See LICENSE file for details.
Copyright © 2017-2019 by William Ngan and contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].