⚠️本日中までの緊急⚠️ Processingの課題バスを右から左へ走らせ見えなくなるとまたみぎから出てきて走り出すというプログラムを作ったのですが白紙になってしまいます。解決策わかる方よろしくお願いします int x, y ; void setup() { size( 800, 500 ) ; x = width ; y = 300 ; } void draw() { background( 255 ) ; if (x <-300) x = width; // bus1_3098765( x, y ) ; } int bus1_3098765( int x0, int y0 ) { pushMatrix() ; translate( x0, y0 ) ; x0 = x0 + bus_3098765() ; popMatrix() ; return x0 ; } int bus_3098765() { rect(10, 10, 300, 110) ; fill(44, 169,225) ; noStroke() ; rect(10, 10, 47, 72) ; triangle(10, 82, 57, 82, 10, 110) ; quad(250, 10, 140, 10, 110, 110, 220, 110) ; quad(310, 10, 270, 10, 250, 110, 310, 110) ; fill(161, 216,230) ; quad(110, 10, 140, 10, 110, 110, 80, 110) ; fill(0, 0, 255, 0) ; stroke( 0 ) ; fill(13, 0,21) ; rect(20, 25, 30, 88) ; rect(20, 25, 30, 88) ; line(34, 25, 34, 112) ; rect(60, 18, 100, 55) ; line(60, 37, 160, 37) ; line(110, 18, 110, 72) ; rect(170, 25, 45, 88) ; line(192, 25, 192, 112) ; rect(220, 18, 85, 55) ; line(262, 18, 262, 72) ; line(220, 37, 305, 37) ; ellipse(250, 120, 35, 35) ; ellipse(80, 120, 35, 35) ; fill(0, 0, 255, 0) ; fill(171, 177,173) ; ellipse(250, 120, 25, 25) ; ellipse(80, 120, 25, 25) ; fill(0, 0, 255, 0) ; return 300 ; }