We’re currently developing a p5.js library and we have some questions regarding proper licensing.
We would like our library to be licensed under the MIT License. Are we allowed to do this? Or would our library have to be licensed under LGPL-2.1?
Our p5.js library repository includes an example directory where standalone examples are included (like so: /examples/example1). Each example includes a minified version of p5.js (like so: /examples/example1/lib/p5.min.js). Besides the p5.js library we include the p5.js license (like so: /examples/example1/lib/p5.min.js.LICENSE).
We would want the examples to be licenced under the MIT License as well. Are we allowed to do this when using p5.min.js for the examples? Or would the examples have to be licensed under LGPL-2.1?
We would like to include in our library a modified vertex shader file similar to vertexColor.vert we found here: p5.js/vertexColor.vert at main · processing/p5.js · GitHub
Are we allowed to do this and still license our library under the MIT license? Or would we have to license our library under LGPL-2.1?
Licenses are not easy, so we would appreciate some help.