|
|
|
jsMovie
What is jsMovie ?
It is a bash script for producing Javascript animations from a set of single image files.
Download
Usage
jsMovie.sh <frame1> [<frame2> [<frame3> ...]]
|
It is strongly suggested to define image size with the
environment variable imgsize (see example below).
With the files head.html and foot.html custom header or
foot can be defined. If these files does not exist
default header/foot are used.
For the button graphics you must copy the GIF files from the
button directory in your HTML directory.
Example
The example can be downloaded above. The image files are m_000.jpeg, m_001.jpeg, ....
The header is defined by the file head.html:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="author" content="Stefan Ziegenbalg">
<meta name="keywords" content="jsMovie, example animation">
<title>Comet C/1999 S4 (Linear)</title>
</head>
<body text="#e0d0c0" bgcolor="#101010" link="#8080ff" vlink="#B09070" alink="#80ff80">
<center>
<h1>Javascript Animation of Comet C/1999 S4 (Linear)</h1>
|
The foot is defined by the file foot.html:
<p>
<font size=2>© Copyright 2003-2004 by Stefan Ziegenbalg. All rights reserved.</font>
</center>
</body></html>
|
The script makemovie contains the commands for creating the movie:
export imgsize="width=384 height=236"
jsMovie.sh m_[0-9][0-9][0-9].jpeg > index.html
|
The result can be viewed here.
More examples
|