I am trying to maximally shorten the code (code golf) for chromostereopsis illusion by Akiyoshi Kitaoka:
https://twitter.com/AkiyoshiKitaoka/status/1700061353346798019
The point is to make it: (1) identical to his image, (2) make code as short as possible. My take is below. Can you post a shorter answer? Least number of characters wins. Please mention count of characters in your answer. Mine is 150. I prefer to keep randomness free of fix (like SeedRandom
). By identical image I meant basic image parameters -- size of objects and image.
r=RandomChoice;b=Black;s=28;f=x^2+y^2;
ArrayPlot[Table[Which[f<300,r[{b,Red}],300<=f<440,b,440<=f,r[{b,Blue}]],
{x,-s,s},{y,-s,s}],PixelConstrained->10]
SeedRandom[1];
(or some other single digit seed). $\endgroup$Import["https://i.stack.imgur.com/O6qfm.jpg"]
. Probably not. $\endgroup$ARPublish[Ball[]][[2,2,1]]
$\endgroup$