FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PShape = createShape(shape, args...) · Issue #260 · processing-js/processing-js · GitHub

This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Repository navigation

This repository was archived by the owner on Dec 5, 2018. It is now read-only.

PShape = createShape(shape, args...) #260

Open

Description

This Processing code has origins in 2.0 as far as I know, but it doesn't appear to exist in Processing.js, specifically the createShape() function.

PShape square;
square = createShape(RECT, 0, 0, 100, 100);
shape(square, 10, 10);

I found some related beginShape() function, http://processingjs.org/reference/beginShape_/

Activity

  1. Pomax commented on Oct 1, 2016

    Member

    Pjs doesn't have any "shape tracking" right now so beginShape/endShape tap straight into the equivalent canvas2d api - anything more extensive involving recording the actual shape for reuse as it's being built will require a rather different approach, so "good if someone is willing to work on it" but not currently in Pjs in any way.

    Labeling accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL