Message Boards Message Boards

GROUPS:

Wolfram Tweet-a-Program Launches Today

Posted 7 years ago
12295 Views
|
10 Replies
|
12 Total Likes
|
10 Replies

Shades of Kandinsky. Well, lines too.

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.

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...

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!

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]]

enter image description here

Source

Bernat

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract