Skip to content

problems with "processing python" #208

Description

@Negar-Amiri

Hello, I'm new to processing and also new to programming. I just know a bit of C++ and python.
I was trying to convert a java base code in processing to python so that I can work on it better but there was something that takes my attention.
I write a same code in java and python in processing but their output is not the same in visual.
python version is a little bigger and also less accurate in drawing things like circles and lines.
I put an example here for you to see what is my mean.
this is the code:
python:
def setup():
size(500, 500)
def draw():
circle(mouseX, mouseY, 50)

java:
void setup() {
size(500, 500);
}
void draw() {
circle(mouseX, mouseY, 50);
}

003
and this is the outputs:
001
002

Am I doing something wrong or is kind of normal that the python version is like this?
I also see that the python version doesn't have debugging mode and the auto-formatting doesn't work on python.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions