Skip to content

Update docs for custom shapes and related features #7734

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

Draft
wants to merge 5 commits into
base: dev-2.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/core/p5.Graphics.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { RGB, HSB, HSL } from '../color/creating_reading';
import primitives2D from '../shape/2d_primitives';
import attributes from '../shape/attributes';
import curves from '../shape/curves';
import vertex from '../shape/vertex';
import customShapes from '../shape/custom_shapes';
import setting from '../color/setting';
import image from '../image/image';
import loadingDisplaying from '../image/loading_displaying';
Expand Down Expand Up @@ -676,7 +676,7 @@ function graphics(p5, fn){
primitives2D(p5, p5.Graphics.prototype);
attributes(p5, p5.Graphics.prototype);
curves(p5, p5.Graphics.prototype);
vertex(p5, p5.Graphics.prototype);
customShapes(p5, p5.Graphics.prototype);

setting(p5, p5.Graphics.prototype);
loadingDisplaying(p5, p5.Graphics.prototype);
Expand Down
3 changes: 3 additions & 0 deletions src/core/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
Loading