Skip to content

Examples of square() not showing up properly in the references #4452

@mattfan00

Description

@mattfan00

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Dom
  • Events
  • Utilities
  • Image
  • IO
  • Math
  • Typography
  • WebGL
  • [ x] Other (specify if possible) Reference not displaying correctly

Details about the bug:

  • p5.js version: Bug occurring on the website
  • Web browser and version: Chrome 80.0.3987.149
  • Operating System: macOS 10.13.6
  • Steps to reproduce this:

This is the link that the bug is on: https://p5js.org/reference/#/p5/square
This is a screenshot of what it looks like on my screen:

image

For some reason, the squares generated are flattened out whenever you try to add some sort of rounded corner. The correct behavior is shown in this screenshot, which is taken when the same code is running on the p5 web editor:

image

So the code works, but for some reason the reference isn't generating the correct image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions