Comments (5)
Hi @aksperiod - sorry to hear that. With the new babel-minify, it seems to work without the plugin. I have created a sample app repo to help you get started.
https://github.com/williamngan/pts-starter-kit
See if it works for you. Thanks!
from pts.
https://github.com/williamngan/pts-starter-kit
from pts.
Thanks a bunch! It works, and I was able to get my own project to work by downgrading to webpack 3 and wepback-dev-server 2.
By the way, I've been a fan of this library for years—but I had forgotten what it was called for the last year and kept trying to find it by looking up random letters. I finally found a minified version of it yesterday in a random old project. The file is minified and versionless, but it looks like there is a Point
class instead of the current Pt
. Thanks so much for making this! It's so awesome.
from pts.
Awesome! Yes, the earlier version is called "Pt" (https://williamngan.github.io/pt).
Thanks for trying it out. I hope to add more features to this library. (slowly slowly!) If you have feature requests, please feel free to file an issue. :)
from pts.
Starting with v0.6.1, you should be able to make an es5 build by using:
import {Pt} from 'pts/dist/es5.js'; // use this for es5 build
Alternatively, you can use a newer companion tools such as neutrino.js which should work out-of-box.
cc @aksperiod
from pts.
Related Issues (20)
- Color.hsl doesn't function as expected HOT 2
- segment function doesn't return an array of group HOT 1
- Parameter confused HOT 2
- Last parameter type of `toAngle` should be Pt | boolean
- sound demos HOT 1
- source-map file missing when importing pts
- Canvas size issue when html attribute and css style width & height differs. HOT 4
- Fix parameter types HOT 1
- CanvasForm(ctx) methods error. HOT 3
- Implement oklab color
- will pts provide an api to render in existing canvas provided by the user? HOT 2
- pts.js, pts.min.js added to .npmignore and are not served by cdns any longer HOT 2
- Documentation is unclear on how to "unmount" a canvas. HOT 2
- Radial gradients can't use negative coordinates HOT 2
- Safari 15 // Group.moveTo not reflected HOT 5
- Crisp 1px lines on HiDPI devices. HOT 1
- Canvas mouse events coord is wrong on layout change HOT 1
- Add support for roundRect method. HOT 1
- randomPt overwrites input value
- error on form methods when using with an existing canvas HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pts.