Another idea for interacts

14 views
Skip to first unread message

kcrisman

unread,
Sep 10, 2011, 10:31:57 PM9/10/11
to sage-edu
This is some impressive javascripty (I assume) goodness. Could be
worth emulating as an interact, or for reminding us there is still a
long ways to go with our plotting interactivity.

http://www.touchmathematics.org/

dimpase

unread,
Sep 11, 2011, 1:52:27 AM9/11/11
to sage...@googlegroups.com
yes, certainly javascript.
E.g if you scroll down
http://www.touchmathematics.org/javascripts/topics/derivatives/main.js?1309284968
you'd see things like
displayObjs.curves.y[4] = TouchMath.curve({
  		func: function (x) { return 1 / x; },
  		color: TouchMath.GREEN
  	});
	displayObjs.curves.dy[4] = TouchMath.curve({
  		func: function (x) { return -1 / (x * x); },
  		color: TouchMath.GREEN_MED
  	});
	displayObjs.curves.d2y[4] = TouchMath.curve({
  		func: function (x) { return 2 / (x * x * x); },
  		color: TouchMath.GREEN_LIGHT
  	});
defining all these functions that are plotted.

John Travis

unread,
Sep 16, 2011, 3:32:17 PM9/16/11
to sage-edu
Probably not to hard to emulate but not as effective with the ever-
present time recompute built into interacts. I remember something
about a setting can be changed to make recomputes display more quickly
but that it uses up resources. Would it be possible to have a sage-
cell switch to turn off/on some type of "continuous" evaluation?

JT
Reply all
Reply to author
Forward
0 new messages