@sim @John @dave1707 - after reporting several crashes in V4 with my NoNo project transfer, I noted an issue with text alignment relative to graphic coordinates. Played around with a few simple graphics to demonstrate. Looks like text is drawn below the target positions, and alignment left and right switched. Played havoc with my project in V4.
-- Texting V4
viewer.mode=FULLSCREEN
function setup()
--
end
function draw()
--
background(0)
style.push()
-- text alignment
style.fill(239, 255, 0)
style.font("Baskerville-Bold")
style.fontSize(64)
style.textAlign(LEFT)
text("Socket V4",WIDTH/2,HEIGHT-80)
style.fill(255, 14, 0)
style.textAlign(RIGHT)
text("left aligned - not",WIDTH/2,HEIGHT-160)
-- line placement
style.stroke(67, 227, 236)
style.strokeWidth(4)
line(68,HEIGHT-80,700,HEIGHT-80)
-- rect positioning
style.stroke(67, 236, 78)
style.noFill()
style.rectMode(CORNER)
rect(60,600,160,80)
style.rectMode(CENTER)
rect(320,600,160,80)
style.rectMode(CORNERS)
rect(420,600,580,680)
-- line through rectangles
style.stroke(254, 227, 236)
style.strokeWidth(4)
line(60,600,700,600)
-- ellipse mode test
style.strokeWidth(8)
style.stroke(160, 236, 78)
style.noFill()
style.ellipseMode(CORNER)
ellipse(60,400,160,80)
style.ellipseMode(CENTER)
ellipse(320,400,160,80)
-- line through rectangles
style.stroke(254, 227, 64)
style.strokeWidth(4)
line(60,400,700,400)
--
style.font("Arial-BoldMT")
style.textAlign(CENTER)
style.noStroke()
style.fontSize(32)
style.fill(236, 67, 219)
text("In Ellipse",320,400)
style.textAlign(RIGHT)
text("Ellipse Right",60,400)
style.pop()
end