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.
Okay cool! We can license our examples under MIT by using the unmodified p5.js library.
Now regarding the “.vert” file. I’m the one making sure we use the proper license.
We don’t yet have a vertex shader file that solves our problem. We know that we need something similar to “vertexColor.vert” but not exactly the same.
I assume that by using p5’s “vertexColor.vert” we would have to release our library under LGPL-2.1, right?
Since we want to release our library under the MIT License, we would have to code a solution ourselves or have somebody code it for us.
My confusion is: if somebody codes it for us independently from p5’s “vertexColor.vert” and the solution ends up having some similar lines of code, would that be an issue?