Skip to content

paper.js dependency results in increased size for all sims. #101

@pixelzoom

Description

@pixelzoom

@jonathanolson added paper.js as a dependency for all sims for "Handling quadratic/cubic intersection with bezier clipping". There was no associated GitHub issue, but for example see phetsims/graphing-quadratics@d6b9aa9.

This increased the size of all sims. For graphing-quadratics, it's ~10% increase, see below.

Is this expected and acceptable? It seems like a steep price to pay for this one feature.

Before paper.js:

-rw-r--r-- 1 cmalley staff 22782949 Jul 12 11:20 graphing-quadratics_all_phet_debug.html
-rw-r--r-- 1 cmalley staff 2073566 Jul 12 11:20 graphing-quadratics_en_phet.html

After paper.js

-rw-r--r-- 1 cmalley staff 23185232 Jul 12 12:58 graphing-quadratics_all_phet_debug.html
-rw-r--r-- 1 cmalley staff 2286405 Jul 12 12:58 graphing-quadratics_en_phet.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions