Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: range iterator #6711

Open
wants to merge 88 commits into
base: dev-2.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
9cdeb39
Add clearDepth() method for feedback effects
davepagurek Nov 23, 2023
ba096e7
refined the number of samples and added dithering in diffused and spe…
sudhanshuv1 Dec 8, 2023
f66b500
docs: update README.md [skip ci]
allcontributors[bot] Dec 9, 2023
d4308f3
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 9, 2023
07255db
Fix Web Accessibility output not tracking background color changes
limzykenneth Dec 10, 2023
d79fed1
Restore camera settings according to 100x100
inaridarkfox4231 Dec 10, 2023
bff13f9
Restore camera settings according to 100x100
inaridarkfox4231 Dec 10, 2023
f9e4ec4
fix setCamera
inaridarkfox4231 Dec 10, 2023
27c909a
rotateX,Y,Z example fix
inaridarkfox4231 Dec 10, 2023
2cf2d5e
Update light.js
inaridarkfox4231 Dec 10, 2023
c1c6222
Update 3d_primitives.js
inaridarkfox4231 Dec 10, 2023
c87e949
Update p5.Camera.js
inaridarkfox4231 Dec 10, 2023
8a00549
indent fix
inaridarkfox4231 Dec 10, 2023
3c01f1d
docs: update README.md [skip ci]
allcontributors[bot] Dec 11, 2023
06a2448
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 11, 2023
0569c02
Merge pull request #6622 from processing/all-contributors/add-suhani6904
Qianqianye Dec 11, 2023
5c8df98
avoid to use image()
inaridarkfox4231 Dec 12, 2023
15670d6
add noLights()
inaridarkfox4231 Dec 12, 2023
efbedb5
docs: update README.md [skip ci]
allcontributors[bot] Dec 12, 2023
e26b3fb
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 12, 2023
0d19d92
Update WebGL contributor docs
davepagurek Dec 12, 2023
fb70e98
Merge pull request #6625 from davepagurek/webgl-contributor-docs
limzykenneth Dec 13, 2023
746a428
Fix typos in contributor_docs README.md
jakebeamish Dec 13, 2023
b001615
fix "zoomFlag" to "executeZoom"
inaridarkfox4231 Dec 13, 2023
ecbded4
cleanup passing of mat4 arguments
lindapaiste Dec 15, 2023
a1748ee
Merge pull request #6620 from inaridarkfox4231/fix-the-camera-referen…
davepagurek Dec 15, 2023
9a62a2f
docs: update README.md [skip ci]
allcontributors[bot] Dec 16, 2023
bd04c21
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 16, 2023
b84f48e
Update contributor_guidelines.md
skushagra9 Dec 16, 2023
099da51
Update contributor_guidelines.md
skushagra9 Dec 16, 2023
b7894ae
Add depth parameter
davepagurek Dec 16, 2023
d7b0aa0
Add default value for cleared depth
davepagurek Dec 16, 2023
4ba8c67
Fix typo in parameter docs
davepagurek Dec 16, 2023
c9e2ee1
Merge pull request #6629 from inaridarkfox4231/fix-zoomFlag-to-execut…
davepagurek Dec 16, 2023
7a36657
Merge pull request #6619 from limzykenneth/web-acc-background
limzykenneth Dec 16, 2023
7092bf9
Merge pull request #6636 from skushagra9/patch-1
limzykenneth Dec 16, 2023
97165cd
Merge branch 'main' into patch-2
limzykenneth Dec 16, 2023
a2db1cc
Merge pull request #6637 from skushagra9/patch-2
limzykenneth Dec 16, 2023
8e66179
Merge pull request #6628 from jakebeamish/patch-1
limzykenneth Dec 16, 2023
b7f7c28
sets new default value for far
diyaayay Dec 17, 2023
dc065a2
fixes the unit test for ortho with no arguements according to new far…
diyaayay Dec 17, 2023
0fabedf
Modify p5.Matrix.set method to copy the source values.
lindapaiste Dec 17, 2023
f8352f9
Fix syntax error re: `new p5.Vector.cross`
lindapaiste Dec 17, 2023
6a9ab83
Merge pull request #6640 from lindapaiste/chore/new-vector-cross
limzykenneth Dec 18, 2023
6369f1f
Merge branch 'processing:main' into refining-sample-numbers
sudhanshuv1 Dec 19, 2023
6a1fc9c
refined sample numbers in diffused and specular textures
sudhanshuv1 Dec 19, 2023
6f01933
Merge pull request #6584 from davepagurek/feat/clearDepth
davepagurek Dec 20, 2023
6f23248
Merge pull request #6633 from lindapaiste/chore/mat4
davepagurek Dec 20, 2023
ce50455
Merge pull request #6639 from diyaayay/bugfix/6621-use-ortho-without-…
davepagurek Dec 21, 2023
5b0a2a0
Merge branch 'processing:main' into refining-sample-numbers
sudhanshuv1 Dec 21, 2023
53ec82c
fixed the bug in specular shader caused by previous commit
sudhanshuv1 Dec 21, 2023
83fe452
docs: update README.md [skip ci]
allcontributors[bot] Dec 21, 2023
2a1da04
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 21, 2023
a9748c2
docs: update README.md [skip ci]
allcontributors[bot] Dec 22, 2023
db36646
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 22, 2023
ddede18
Merge pull request #6613 from sudhanshuv1/refining-sample-numbers
davepagurek Dec 22, 2023
38e944d
Scale width and height by pixelDensity to address issue #6612
calebfoss Dec 23, 2023
4ade39b
Merge pull request #6649 from calebfoss/text-output-6612
davepagurek Dec 23, 2023
cea9e09
Update p5.Renderer2D.js
dhowe Dec 24, 2023
d2f97e8
fixed the shader to make the instanced boxes separated from one anoth…
RandomGamingDev Dec 25, 2023
c5ec346
changed it so that it uses pixel transformations instead
RandomGamingDev Dec 25, 2023
6d88dc3
bugfix #6653 vertexNormal is not defined,replaces with normal
diyaayay Dec 26, 2023
841858a
Merge pull request #6623 from processing/all-contributors/add-dexterco
Qianqianye Dec 27, 2023
32db187
Merge branch 'main' into all-contributors/add-umangutkarsh
Qianqianye Dec 27, 2023
8228e34
Merge pull request #6635 from processing/all-contributors/add-umangut…
Qianqianye Dec 27, 2023
3000ce2
Merge branch 'main' into all-contributors/add-aditya123473892
Qianqianye Dec 27, 2023
f4f2cda
Merge pull request #6647 from processing/all-contributors/add-aditya1…
Qianqianye Dec 27, 2023
c7a3df3
Merge branch 'main' into all-contributors/add-haarsh157
Qianqianye Dec 27, 2023
6f4e968
Merge pull request #6648 from processing/all-contributors/add-haarsh157
Qianqianye Dec 27, 2023
768160d
docs: update README.md [skip ci]
allcontributors[bot] Dec 27, 2023
77eb3ff
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 27, 2023
28bacf5
Merge pull request #6668 from processing/all-contributors/add-sudhans…
davepagurek Dec 27, 2023
8f2b47c
Merge pull request #6656 from RandomGamingDev/instancing-docs-fix
davepagurek Dec 27, 2023
bda63ff
Merge pull request #6659 from diyaayay/bugfix/6653
davepagurek Dec 28, 2023
5d064c6
Updated docs for p5.Shader.js
Garima3110 Dec 29, 2023
8588d3d
Merge pull request #6672 from Garima3110/patch-1
davepagurek Dec 30, 2023
0e7ba53
add missing return type
asukaminato0721 Dec 31, 2023
33082af
fixed the doubleClicked() in offline docs
Artimus100 Jan 1, 2024
7c06171
Merge pull request #6685 from Artimus100/fix-doubleChecked-bug
davepagurek Jan 2, 2024
fe33439
Merge pull request #6682 from asukaminato0721/Framebuffer-doctype
davepagurek Jan 2, 2024
117464f
make parms optional
asukaminato0721 Jan 2, 2024
77574af
fixed second example in the reference page for acos()
sudhanshuv1 Jan 5, 2024
814509d
fix documentation typo in src/math/random.js
clemzio Jan 6, 2024
81b02c8
Merge pull request #6702 from clemzio/patch-1
nickmcintyre Jan 6, 2024
dc814dc
made the requested changes in previous commit
sudhanshuv1 Jan 6, 2024
16e47b0
Merge pull request #6697 from sudhanshuv1/fix-acos-reference
nickmcintyre Jan 6, 2024
a3fdfbe
Merge pull request #6689 from asukaminato0721/optional-parms
davepagurek Jan 7, 2024
253d667
feat: range iterator
ohayouarmaan Jan 7, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
avoid to use image()
The image() function uses push() to pop() internally, so the processing is duplicated and it's not pretty. Also, since it may be affected by imageMode(), I thought this would be better.
  • Loading branch information
inaridarkfox4231 committed Dec 12, 2023
commit 5c8df987d7efedcb41d324614cc61b0ea69aa4d2
12 changes: 8 additions & 4 deletions src/webgl/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,10 @@ p5.prototype.pointLight = function(v1, v2, v3, x, y, z) {
*
* push();
* camera(0, 0, 1, 0, 0, 0, 0, 1, 0);
* ortho(-50, 50, -50, 50, 0, 1);
* image(img, -50, -50, 100, 100);
* ortho(-1, 1, -1, 1, 0, 1);
* noStroke();
* texture(img);
* plane(2);
* pop();
*
* ambientLight(50);
Expand Down Expand Up @@ -570,8 +572,10 @@ p5.prototype.pointLight = function(v1, v2, v3, x, y, z) {
*
* push();
* camera(0, 0, 1, 0, 0, 0, 0, 1, 0);
* ortho(-50, 50, -50, 50, 0, 1);
* image(img, -50, -50, 100, 100);
* ortho(-1, 1, -1, 1, 0, 1);
* noStroke();
* texture(img);
* plane(2);
* pop();
*
* ambientLight(50);
Expand Down
Loading