notes on creating HTML5 video with Sage's animate()

29 views
Skip to first unread message

Dan Drake

unread,
Sep 21, 2011, 10:40:41 PM9/21/11
to sage-s...@googlegroups.com, sage-edu
Hello,

I wanted to create some video files for my students (we're studying the
wave equation, which begs for animation) and post them on the web where
they can be easily watched. The easiest way to do this is to create
videos in formats understand by browsers that implement the HTML5
<video> tag. (Basically anything reasonably recent does, except for IE8
and before -- which, sadly, is most of the browser market here.)

I wrote some notes on producing such videos and thought someone might
find them useful: https://sagenb.kaist.ac.kr:8066/home/pub/41. Comments
welcome.

(BTW, here's the videos I made:

http://klee.kaist.ac.kr/wave.webm
http://klee.kaist.ac.kr/wave.mp4

The thick green plot is the shape of a plucked string, and the red and
blue plots are the traveling waves you get with d'Alembert's solution to
the wave equation.)

Dan

--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------

signature.asc

john_perry_usm

unread,
Sep 22, 2011, 11:31:48 AM9/22/11
to sage-edu
Thanks! I wasn't aware we could do that.

regards
john perry
>  signature.asc
> < 1KViewDownload

Dan Drake

unread,
Sep 22, 2011, 10:26:23 PM9/22/11
to sage...@googlegroups.com
On Thu, 22 Sep 2011 at 08:31AM -0700, john_perry_usm wrote:
> Thanks! I wasn't aware we could do that.

Well, mostly it's ffmepg. So thank them for the easy video encoding. And
the browser developers for making it so that the videos just play.

signature.asc

dimpase

unread,
Sep 23, 2011, 7:15:25 AM9/23/11
to sage...@googlegroups.com, sage-s...@googlegroups.com
Hi Dan,
but to no avail (neither yesterday, nor today... must be our campus firewall settings...)

Could you maybe post a copy somewhere on test.sagenb.org, say?
Thanks,
Dmitrii
Reply all
Reply to author
Forward
0 new messages