Skip to content

createCanvas() issue in p5.js : #2679

@ahmadalzoubi13579

Description

@ahmadalzoubi13579

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

Most appropriate sub-area of p5.js?

  • Color
  • Core
  • Data
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Which platform were you using when you encountered this?

  • Mobile/Tablet (touch devices)
  • Desktop/Laptop
  • Others (specify if possible)

Details about the bug:

  • p5.js version: p5.js v0.6.0 January 19, 2018
  • Web browser and version: chrome Version 64.0.3282.186 (Official Build) (64-bit)
  • Operating System: windows 10 Pro 64-bit
  • Steps to reproduce this:

Feature enhancement details:

New feature details:

Hi there :
when i create a new Canvas in p5.js and run my code in google chrome it creates two canvas and i do not know why this is happen

my code :

`function setup() {

createCanvas(400, 400);

}

function draw() {

background(0)
ellipse(200,200 ,20, 20);
}
`
screenshots :

image 1:
1

image 2:

2

image 3:

3

Any Help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions