shithub: slug

ref: f4c7c756294c31500e69f267deac932a65ebd7e9
dir: /samples/pushstyle.lua/

View raw version
#!/bin/slug

function setup()
	size(400, 400)
end

function draw()
	background(200)
	ellipse(0, 200, 132, 132)

	pushStyle()
	strokeWeight(40)
	fill(204, 153, 0)
	ellipse(200, 200, 132, 132)
	popStyle()

	ellipse(400, 200, 132, 132)
end