You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm. Can't load native code to bring window to front using the absolute path: /Users/philipp/Documents/Processing/modes/PythonMode/mode/libjniosx.dylib.
Hmm. Can't load native code to bring window to front.
Steps to reproduce this
run sketch
close sketch preview window
get error in console
snippet
# SOLVINGEQUATIONSGRAPHICALLY
#set the range of x-values
xmin =-10
xmax =10
#range of y-values
ymin =-10
ymax =10
#calculate the range
rangex = xmax - xmin
rangey = ymax - ymin
def setup():
global xscl, yscl
size(600,600)
xscl =width/ rangex
yscl =-height/ rangey
def draw():
global xscl, yscl
background(255) #white
translate(width/2,height/2)
#cyan lines
strokeWeight(1)
stroke(0,255,255)
stroke(0,255,255)
for i in range(xmin,xmax+1):line(i*xscl,ymin*yscl,i*xscl,ymax*yscl)
for i in range(ymin,ymax+1):line(xmin*xscl,i*yscl,xmax*xscl,i*yscl)
stroke(0) #black axes
line(0,ymin*yscl,0,ymax*yscl)
line(xmin*xscl,0,xmax*xscl,0)