Function: animate-step
animate-step is a byte-compiled function defined in animate.el.gz.
Signature
(animate-step CHARACTERS FRACTION)
Source Code
;; Defined in /usr/src/emacs/lisp/play/animate.el.gz
;;; Display the characters in CHARACTERS,
;;; each one FRACTION of the way from its start to its destination.
;;; If FRACTION is 0, the characters appear in their starting positions.
;;; If FRACTION is 1, the characters appear in their destinations.
(defun animate-step (characters fraction)
(let ((remains (- 1 fraction)))
(dolist (item characters)
(let ((vpos (+ (* remains (nth 1 item))
(* fraction (nth 3 item))))
(hpos (+ (* remains (nth 2 item))
(* fraction (nth 4 item)))))
(animate-place-char (car item) vpos hpos)))))