Skip to content

image transformation: rotation missing(?) #3767

Open
@Wildernesss

Description

@Wildernesss

Hi everyone. There was a request about image transformation (rotation) that was closed in 2016 (#1534)... I don't really understand why. Because this request is in my opinion full well founded but apparently no improvement of p5.js in that direction has ever been done. Am I missing something? With p5.js it's easy too transform image color with filters (for instance a color image transformed into a gray scaled image), but apparently there is no function to transform image itself with a rotation (when I write 'transformation', that means real image pixels transformation, no the way image is drawn on canvas). If I understand it well, the only one mean has been to rotate canvas before drawing the image on the canvas. This can be usefull in certains circumstances, but that transformation of reference point is something very complicate to understand for beginner. I'm not saying here the canvas rotate() function should disappear but that in parallel there really should be more basic transformation on image object available (I mean transformation of image itself, not the canvas orientation), like the basic that is orientation. Something that could be easily improved into p5.js. At least it would be great! Thanks to the whole p5.js development team for their great work! Laurent

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