@TokOut Give us a chance to look at your code. We’re not here constantly to fix you problems. Anyways, add the statement background(0) in draw() before I:draw() . What is MRRP>=3 .
arr={3,2,1}
for i,v in ipairs(arr) do
print("arr["..i.."] = "..v)
The variable i is the position in the table. The variable v is the value. The table arr is created with 3 in the 1st position, 2 in the 2nd, and 1 in the 3rd. So it prints the table position 1,2,3 and the value 3,2,1.
function setup()
v = 1
end
function draw()
background(0, 0, 0, 255)
fill(255, 255, 255, 255)
font("AmericanTypewriter-Light")
fontSize(v)
text("Test String in maximal size", WIDTH/2, HEIGHT/2)
print("Value" .. v)
v = v + .1
end
@TokOut That’s not a bug. That’s just the way things are. Some numbers just aren’t exact when small values are added to them. If you want a number to show a specific value, then to need to use string.format. Do a Google search for string.format.
@TokOut you shouldn’t delete your old questions though, they help make the thread readable and might help people that are searching through the forum looking for the same answers