Thank you all, as a former system engineer and current math teacher looking to integrate free as well as open source tools into the classroom I routinely learn a great deal from this group!
On Wed, Apr 3, 2013 at 6:03 PM, David Chandler <
david...@gmail.com> wrote:
Mission accomplished!
With the critical item of input you gave me, I have now generalized
the tool to display results of iterated composite x-reflections,
y-reflections, dilations, rotations, and translations.
See it here [1].
Thanks.
On Wed, Apr 3, 2013 at 11:44 AM, David Chandler wrote:
OK, here is a permalink [3] using Sage Cell Server. How long is
the temporary link good for?
On Wed, Apr 3, 2013 at 7:29 AM, michel paul wrote:
I really like that spiral of triangles! Yes, very nice.
The way I shared my stuff through a simple link was via the single
cell server [5]. It is so handy! Just throw an idea down and send a
link. You only have one cell; however, you can actually do a lot with
one cell. Especially if you're going to set up an interactive
window. The user doesn't necessarily have to understand Sage, but
they can still use the interact, and theoretically they could study
the code and modify to see what happens if they wanted to. They
wouldn't break anything, as the link always goes to the original.
The public servers no longer support publishing, unfortunately. It
used to be that if you had an account on
sagenb.org [6], I'd be
able to either publish a file that you could access, or I'd be
able to share a file directly with you. However, all that got shut
down, I think because once you've shared a file with someone they
can't delete it - the sharer has to, and I think that might have
been abused. Just speculating, but all I know is that at one point the
public Sage servers were all down for some time, and when they went
back up the publishing and sharing features were off with some mention
of abuse having occurred.
However, this single cell server got created, and I have recently been
finding it a wonderful way to share ideas. For example, here's
another one [7] I recently shared with some people regarding polar
plotting. The user can change the polar expression and the boundaries
to explore how the curve unfolds in different intervals. You can share
these kinds of things with anyone, even if they don't have a Sage
account. I think the implications of that are fantastic. In trying to
share things with my colleagues, I'd often experience resistance
in that they didn't want to have to bother dealing with a Sage
account (even though it's free). Now they have no excuse! : )
- Michel
On Tue, Apr 2, 2013 at 11:48 PM, David Chandler wrote:
I saved my worksheet to a sws file and am attaching it here.
--David Chandler
On Tue, Apr 2, 2013 at 11:10 PM, David Chandler wrote:
By the way, how did you share your sage notebook with me? Is that
what happens when you "publish" the notebook? I tried using my
downloaded version of Sage and it published it to localhost. I
assume that's on my computer.
--David Chandler
On Tue, Apr 2, 2013 at 11:07 PM, David Chandler wrote:
Hi Michel,
Yes! That does the trick. Thanks.
The key step I was lacking was how to get a list of points back out of
the matrix format. Apparently .columns() creates a list of points
that can then be used in the polygon construction. So the strategy
is to maintain a list of points for the most recently transformed
polygon. Whenever I need to transform the list I use matrix() to
turn it into a matrix with the point pairs acting as column vectors.
Once I have transformed the matrix, I can extract the new list of
points using the columns() method.
The other item I improvised, since I wanted to "show" a list of
polygons generated in a loop is based on your show(p1 + p2 + p3).
I create a running "sum" of polygons using
polysum+=polygon(p)
That actually works. I don't know how to visualize the structure
of polysum except to see it as a sum or concatenation of a series of
polygons.
--David Chandler
On Tue, Apr 2, 2013 at 7:51 PM, michel paul wrote:
See if this [12] helps. I was investigating these kinds of things
awhile back.
I've only used a rotation matrix here, but it would of course be
possible to add other transformations in this kind of scheme.
To plot pre-image and image together, add them in a show() function.
- Michel
On Tue, Apr 2, 2013 at 12:14 PM, David Chandler wrote:
I think there is some Sage expertise in this forum. I need some
Sage advice.
I am trying to do a unit on geometric transformations using
matrices. The polygon vertices are the column vectors of a matrix.
I want to hit the polygon repeatedly with a transformation matrix (for
instance one that does a rotation combined with a dilation), then I
want to plot the original polygon and the sequence of transformed
polygons all on the same plot. (The particular case I am describing
should produce a spiral pattern.)
I can see how to create matrices and transform them in Sage, and I can
see how to create polygons, and plot them, but I don't see how to
create matrices that represent the polygon or transform a polygon with
a matrix or convert a polygon to a vertex matrix or convert a matrix
to a polygon. Plotting the pre-image and the image polygons all on
the same graph is another issue.
--David Chandler
--
You received this message because you are subscribed to the Google
Groups "MathFuture" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to .
To post to this group, send email to .
[16].
[17].
--
===================================
"What I cannot create, I do not understand."
- Richard Feynman===================================
"Computer science is the new mathematics."
- Dr. Christos Papadimitriou
===================================
--
You received this message because you are subscribed to the Google
Groups "MathFuture" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to .
To post to this group, send email to .
[20].
[21].
--
You received this message because you are subscribed to the Google
Groups "MathFuture" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to .
To post to this group, send email to .
[24].
[25].
--
===================================
"What I cannot create, I do not understand."
- Richard Feynman===================================
"Computer science is the new mathematics."
- Dr. Christos Papadimitriou
===================================
--
You received this message because you are subscribed to the Google
Groups "MathFuture" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to .
To post to this group, send email to .
[28].
[29].
[30].
[31].
Links:
------
[1]
http://aleph.sagemath.org/?z=eJydVcFuozAQvSPxD6P2UEgpDamq7VbisNpe9rCXNrcoqh
xiUq_ARtikyd_vjG0gpNvVai_E2DNv3rw3Jpfww_CWGb4F0zKpS9XWzAglNQhZVN1WyB0887LiB
e0m8KwMc6snUfkVk1tYUrbbCIMwuLq6CoMnXgrJ4TuiGSaN9tvmjRuWR9n9rBG32cM8TmUUA1w-
s61AkDDQBat4nn4Ng4Mlld-HwdGt7sKgUI3gOs_m84-F6kZJLg18K-3GctIS_GSmFQXveWAreU1
bh2i1KpSOLLE4udFC9uv5OlmdvJ5E0ck8mSfZeh2Hga00omV44LjbqCw5ji99Cuo3JtiW8cih-r
dJ-AFdGONvsiE4Ows8TgLHuJvzQC8DqrYhsYQ0Cl7Q74r_Tb-DT1vm9nSGbcyI24zqzlDTc1cqo
Q2oEnjF93bQ9rw1JzY0-Sp6SL4kWZxE2TxZuMVi3HnAxXqk23JEsSD8AK5PuHVUG6U5SM63NM4K
NDeAbkGjsDcNTEOhqq6WmFwY1Q4EEKQXrIlT0yNFo0YveNhYrIphN616h4gei5g2JVZqGN2iswJ
EonB8exUWT55OX7zES5NHxCHdokSGvyKwjlaLdRynDk6fMPHtM0Spjjs0RW1-YTEoW1U7gr5Qrz
Jqg7evNTZBdzVxYkXR1V1FQB5GA9oM6BerQL-pd6oIsFT2BTDWiKY6iSaRCckcG_7oMpoMrqFZ0
OMOrtM0xYV0MEhrz1rBNh6CaAg0RCITRwSLI9qGQ6cRGJ2iVli762q6zthOT8qJ5jByTyeyIo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URrqFUxvmHi88t_DgjPveQDMb3JSGnMY8jhZtQu4Qc6_1lUvAp8nMYtvGJGKE
vwcIrSdNLLw3e9uM3GUuqexjVFPIqiz7iS1s3AYLUT-Me_alFAyjpiN5HfEcqy064-gfPXwTX&a
mp;lang=sage[5]
http://aleph.sagemath.org
[6]
http://sagenb.org
[7]
http://aleph.sagemath.org/?z=eJxdj8GKAjEMhu-C75CbqRZ39CRCwfcYBul2qhZnJiGt2M
c3unNYzOVPIHxfcoI0lSg-lOWijxdgGryguGpz8VJco0ns9mtOtq-O08_u0JjjcgFaXDI4aFGwm
nWgrGE_fU6ThoELCVQ1QPuhbbdvmBIju7523R8lx6tS8mPEdkhTxBYb2xjLnQ00kDgUP_U0orK_
m1nBb4Ue05mZeKMnyv-BSd_MqDszdPU7-HBfmY3aLfjMMZSz-JLI7cwLrcVWkQ==&lang=s
age[12]
http://aleph.sagemath.org/?z=eJytksFqxCAQhu-BvIPQy9jakC30siD0GXoNIUjiboRERW
fp9u1rqmncbC-Fzkmdf76ZcWaQJ_IOOEoU9EjKggRzEi9Ok1mgU1domt74pGDPXul0bllU76zZF
GwLbFtaFmUxhGxO6MHMnTVKIwFCZqXZLK4he8oLiyI4YfWw_QO9J3kIrj2pyRU_0eRkHLFE6QVw
lqBpu9b2LexS4_EyKY8b8d5VYaB4a7wEmkMWJ-S8DZK_Vr2ZLrP2sP2PQYHyJpSt80mAdWCPuWi
Jf_hfW5BvIYN0ose1vg40f6ljSdwqeoxrYPl-HDU71DRtFM8-5ZcGwdLUYwrwo_kIiunzbDTYsE
iTcRxiBogLcXOgTEx2FLyuXulTtpcrwv0NwYS3ssfOCVSGH0JRXyPv-VE=&lang=sage[16]
http://groups.google.com/group/mathfuture?hl=en
[17]
https://groups.google.com/groups/opt_out
[20]
http://groups.google.com/group/mathfuture?hl=en
[21]
https://groups.google.com/groups/opt_out
[24]
http://groups.google.com/group/mathfuture?hl=en
[25]
https://groups.google.com/groups/opt_out
[28]
http://groups.google.com/group/mathfuture?hl=en
[29]
https://groups.google.com/groups/opt_out
[30]
http://groups.google.com/group/mathfuture?hl=en
[31]
https://groups.google.com/groups/opt_out