Slope Art
CODES
from visual.graph import *
graph1 = gdisplay(xmax = 5, xmin = -5, ymax = 5, ymin = -5)
line1 = gcurve(color=color.orange)
for x in arange(-5,-2,1): #(-5,5)(-3,-5)m=-5 slope is negative
line1.plot(pos=(x,((-5*x)-20)))# y=-5x-20 m=-5 slope is negative
line2 = gcurve(color=color.orange)
for x in arange(-3,6,1): #(-3,-5)(5,-1)
line2.plot(pos=(x,((.5)*x)-3.5))# y=-.5x-3.5 m=-.5 slope is negative
line3 = gcurve(color=color.orange)
for x in arange(-1,6,1): #(5,-1)(-1,5)
line3.plot(pos=(x,((-x))+4))# y=-x+4 m=-1 slope is negative
line4 = gcurve(color=color.orange)
for x in arange(-5,0,1): #(-1,5)(-5,-3)
line4.plot(pos=(x,(2*x)+7))# y=2x+7 m =2 slope is positive
line5 = gcurve(color=color.orange)
for x in arange(-5,6,1): #(-5,3)(5,-5)
line5.plot(pos=(x,((-.2)*x)-4))#y=-2x-4 m=-.2 slope is negative
line6 = gcurve(color=color.orange)
for x in arange(3,6,1): #(5,-5)(3,5)
line6.plot(pos=(x,((-5)*x)+20))#y=-5x+20 m=-5 slope is negative
line7 = gcurve(color=color.orange)
for x in arange(-5,4,1): #(3,5)(-5,1)
line7.plot(pos=(x,((+.5)*x)+3.5))#y=o.5x3.5 m=0.5 slope is positive
line8 = gcurve(color=color.orange)
for x in arange(-5,2,1): #(-5,1)(1,-5)
line8.plot(pos=(x,((-x)-4)))#y=-x-4 m=-1 slope is negative
line9 = gcurve(color=color.orange)
for x in arange(1,6,1): #(1,-5)(5,3)
line9.plot(pos=(x,((2)*x)-7))#y=2x-7 m=2 slope is positive
line10 = gcurve(color=color.orange)
for x in arange(-5,6,1):
line10.plot(pos=(x,(-.2*x)+4))
line11 = gcurve(color=color.orange)
for x in arange(-5,-2,1):
line11.plot(pos=(x,((5)*x)+20))
line12 = gcurve(color=color.orange)
for x in arange(3,6,1):
line12.plot(pos=(x,(5*x)-20))
line13 = gcurve(color=color.orange)
for x in arange(-1,6,1):
line13.plot(pos=(x,((x)-4)))
line14 = gcurve(color=color.orange)
for x in arange(-3,6,1):
line14.plot(pos=(x,((-.5)*x)+3.5))
line15 = gcurve(color=color.orange)
for x in arange(-5,6,1):
line15.plot(pos=(x,((.2)*x)+4))
line16 = gcurve(color=color.orange)
for x in arange(-5,6,1):
line16.plot(pos=(x,((.2)*x)-4))
line17 = gcurve(color=color.orange)
for x in arange(1,6,1):
line17.plot(pos=(x,((-2)*x)+7))
line18 = gcurve(color=color.orange)
for x in arange(-5,2,1):
line18.plot(pos=(x,((x)+4)))
line19 = gcurve(color=color.orange)
for x in arange(-5,4,1):
line19.plot(pos=(x,((-.5)*x)-3.5))
line20 = gcurve(color=color.orange)
for x in arange(3,6,1):
line20.plot(pos=(x,((5)*x)-20))
line21 = gcurve(color=color.orange)
for x in arange(-5,6,1):
line21.plot(pos=(x,(-.2*x)+4
line22 = gcurve(color=color.orange)
for x in arange(-5,0,1):
line22.plot(pos=(x,((-2)*x)-7))
REFLECTION:
'''I chose this image because i like lines, and the day that i drew
the image i felt a little confused so this drawing represents the confusing
state that i was in.My habit of heart and mind is perseverance because i think
that habit is about finish what you have started and when i was in the half
of the project i wanted to quit because it was very difficult so Mister Phil
told me that i should keep going and because i followed what he said my final
product was awesome.'''