Mathematica 10: Wolfram Cloud Testing

Mathematica 10 の最初の画面で Cloud に logon して CloudDeployを実行すると Cloud Object が作られる。 その url をこのブログに貼付けたものが次です。

オプション Pemmisions の指定でどのように違うのかテストしてみました。

1. ClouldDeploy without Permission

CloudDeploy[FormFunction[{"x" -> "Integer"}, #x! &], "myform"]

次をクリックする x factorial

2. CloudDeploy with Permissions -> "Private"

CloudDeploy[
Notebook[{Cell["head", "Section"], Cell["text", "Text"]}], 
Permissions -> "Private"]

次をクリックする。 Section

3. CloudDeploy with Permissions -> "Public"

CloudDeploy[
Manipulate[Factor[ToExpression["x"]^n + 1], {n, 10, 100, 1}],
Permissions -> "Public"]

次をクリックする Manipulate

Manipulate[Rotate[Style["hello",size,color],angle \[Degree]],{{size,60},10,200},{color,Red},{angle,0,360}]
CloudDeploy[%,Permissions->"Public"]

次をクリックする An example of ThingsToTry.nb

4. CloudExport with Permissions -> "Public"

CloudExport[
 Plot[{Sin[x], Cos[x]}, {x, -2 Pi, 2 Pi}, 
  PlotLabel ->Style["Plot of Sin(x) and Cos(x)",16]],
 Permissions -> "Public"]

次をクリックする plot of sin(x) and cos(x)

Sudoku への応用

Sudoku(数独)をMathematicaで解く

Sudoku の解答のアニメーションに応用した。このベージでは Manipulate のスライダーを動かすことができないので Wolfram Cloud に載せた。

次をクリックしてください。 Sudoku animation 2

目次へ