PaperScript?

80 views
Skip to first unread message

Thomas Güttler

unread,
Aug 1, 2019, 10:42:53 AM8/1/19
to Paper.js
I read this text on your homepage:

PaperScript is the plain old JavaScript that you are used to, with added support of mathematical operators (+ - * / %) for Point and Size objects. PaperScript code is automatically executed in its own scope that without polluting with the global scope still has access to all the global browser objects and functions, such as document or window.


I know that JavaScript is not perfect, but language is getting better.

Or you can use TypeScript.

For me, reading above text, it feels strange.

I was searching for a library, not a language.

What do you think?

Jürg Lehni

unread,
Aug 7, 2019, 2:22:19 PM8/7/19
to pap...@googlegroups.com
Nothing forces you to use PaperScript. You can use the core library without the language extension, and you can use TypeScript typings if that's your jam.

We've created PaperScript to make teaching certain concepts much more easy and straight forward (e.g. vector algebra / geometry).

J

--
You received this message because you are subscribed to the Google Groups "Paper.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/paperjs/3361c4d2-89c1-460d-95ba-9cc5ac1264f8%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages