Give it a try: Fractal Fun: Tweet-a-Program Mandelbrot Code Challenge
ImageAdd[Rasterize@Rotate[MandelbrotSetPlot[{-1.9+I,-.85I},ColorFunction->(If[#3>.9,Black,White]&)],3Pi/2],=[Mandelbrot Pic]]
Source
Bernat
Slightly shorter version that should fit in a tweet:
b = c = ConstantArray[0, {256, 256, 3}]; s = 21 ;; 236; b[[All, s]] = c[[s, All]] = Tuples[{0, .5, .05, 0, .5, .05}, 3]; Image[b + c]
Illian, Thank you. It runs as: @wolframtap b = c = ConstantArray[0, {256, 256, 3}]; s = 21;;236; b[[All, s]] = c[[s, All]] = Tuples[{0, .5, .5, 0, .5, .5}, 3];Image[b + c]
I had to cut into my variables!
Also, I'm getting some double results.
Yep, a known bug. Working on it, though we might not get to fully sorted out until tomorrow...
Does it use the same protection against malicious input as standard Cloud APIs?
Yes, we have sandboxing that is part and parcel of Wolfram Cloud. We also filter some obvious useless inputs, and return error messages for failed code, but people are coming up with other examples of things that just aren't too useful that we will work on filtering. And we are monitoring for troll silliness.
I really like this image which Arnoud B. generously allowed me to steal from his Tweet-a-Code testing collection:
Graphics[{EdgeForm[],Table[{Hue[RandomReal[]],Opacity[0.1],ConicHullRegion[{RandomReal[1,2]},RandomReal[{-1,1},{2,2}]]},{75}]}]
http://t.co/6GieKbLaYD
Shades of Kandinsky. Well, lines too.