Tupper's self-referential formula: Difference between revisions

m
→‎{{header|Julia}}: change comments
(Added Wren)
m (→‎{{header|Julia}}: change comments)
Line 64:
setprecision(BigFloat, 8000)
 
""" get logical inverse of Tupper function values for whiteblack on blackwhile graphic """
function tupper_mat(k)
tmatrix = trues(17, 106)
Line 85:
function test_tupper()
bmap = tupper_mat(k)
display(plot(colorview(Gray, bmap), ylims = [1,17])) # invert black / white with .!
savefig("tupper.png")
end
4,105

edits