Open
Description
Test script:
from p5 import *
def setup():
size(640, 360)
no_stroke()
background(204)
def draw():
if mouse_is_pressed:
fill(random_uniform(255), random_uniform(127), random_uniform(51), 127)
else:
fill(255, 15)
circle_size = random_uniform(low=10, high=80)
circle((mouse_x, mouse_y), circle_size)
def key_pressed(event):
background(204)
run()
Expected behavior:
The edges of the circle to be smooth. I referenced the GIF in the readme
Actual behavior
When I use the example script, I am seeing very chunky edges. I am on a UHD monitor, and I tried running the script with the pixels 1:1 as well as my normal scaled 150%. I suspect this is some sort of OpenGL thing. Either a scaling issue or a dpi issue.
Please let me know what other information I can provide!
Errors produced (if any):
p5 version:
p5==0.3.0a2
- numpy [required: Any, installed: 1.13.3]
- pyglet [required: Any, installed: 1.3.0]
- future [required: Any, installed: 0.16.0]
- PyOpenGL [required: Any, installed: 3.1.0]
Python version:
Python 3.5
Operating System:
Windows10