Message Boards Message Boards

0
|
10743 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

DynamicModule not working in WolframCloud

Posted 10 years ago

Hello,

I had a following code: DynamicModule[{pts = {{0, 0}, {1, 1}, {2, 0}, {3, 2}}}, LocatorPane[Dynamic[pts], Dynamic[Plot[InterpolatingPolynomial[pts, x], {x, 0, 3}, PlotRange -> 3]]]]

This works fine in Mathematica desktop

But this same code is not working properly when I deploy it cloud: CloudDeploy[DynamicModule[{pts = {{0, 0}, {1, 1}, {2, 0}, {3, 2}}}, LocatorPane[Dynamic[pts], Dynamic[Plot[InterpolatingPolynomial[pts, x], {x, 0, 3}, PlotRange -> 3]]]]]

May I kindly request to know if I am missing something here.

Vijay

POSTED BY: Vijay Sharma
2 Replies

I don't think you're missing anything. Your code looks fine. LocatorPane just isn't supported yet on Wolfram Cloud.

POSTED BY: Lou D'Andria

The code works now in the cloud without the CloudDeploy[] wrapper. I've tested it in the sandbox. I like the latter but can't wrap my Head[] around Dynamic[]. I am doing the WL101 course and Dynamic[] with its related tutorials and Lou videos is imho the single most difficult and complex core vocab item to understand well enough for any confidential application by myself on my own.

POSTED BY: Raspi Rascal
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