jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

rotate doesn't work in python #181

Closed MattGSM closed 7 years ago

MattGSM commented 7 years ago

I have tried

p = [] q = []

def setup(): size(1000, 500) for x in range(1, 17): p.append(x) q.append(x) rotate(PI/3.0)

def draw():

ellipse(250, 250, 500, 500)
ellipse(750, 250, 500, 500)
ellipse(550, 10, 50, 50)

but the rotate doesnt work in 3.2.4

jdf commented 7 years ago

I'm not sure what that sketch is supposed to mean. rotate() does't do anything meaningful outside of draw().

MattGSM commented 7 years ago

I have just started trying processing out for myself. What I'm trying to do is rotate the co-ordinates so it turns into a graph with the origin at the bottom 250pixels in from the left. How would I achieve that?

MattGSM commented 7 years ago

I am fairly good at python on its own but I wanted to use processing python as a way to make graphs

jdf commented 7 years ago

These questions might be better suited for the Processing forums.

On Sun, Feb 12, 2017 at 3:18 PM, MattGSM notifications@github.com wrote:

I am fairly good at python on its own but I wanted to use processing python as a way to make graphs

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/181#issuecomment-279245261, or mute the thread https://github.com/notifications/unsubscribe-auth/AADajJaAUmJoJlmDo7JsDWh2fVe2HVAvks5rb2kmgaJpZM4L-eZK .

-- Jonathan Feinberg jdf@pobox.com http://MrFeinberg.com/