From 9a316771fc93d135b79b78e71b46ac2bf3455237 Mon Sep 17 00:00:00 2001 From: frese Date: Tue, 4 Dec 2001 13:49:07 +0000 Subject: [PATCH] + added more example scripts. --- scheme/examples/picture.scm | 54 +++++++++++++++++++++++++++ scheme/examples/regions.scm | 73 +++++++++++++++++++++++++++++++++++++ scheme/examples/scxev.scm | 33 +++++++++++++++++ 3 files changed, 160 insertions(+) create mode 100755 scheme/examples/picture.scm create mode 100755 scheme/examples/regions.scm create mode 100755 scheme/examples/scxev.scm diff --git a/scheme/examples/picture.scm b/scheme/examples/picture.scm new file mode 100755 index 0000000..c8886b0 --- /dev/null +++ b/scheme/examples/picture.scm @@ -0,0 +1,54 @@ +#!/bin/sh + +../../scx <exact xf) (inexact->exact yf))) + (draw-points win gc (- count 1) + (- (* y (+ 1 (sin (* 0.7 x)))) (* 1.2 (sqrt (abs x)))) + (- 0.21 x) + hw hh)))) + +(picture 1000) + +,exit +y +EOF diff --git a/scheme/examples/regions.scm b/scheme/examples/regions.scm new file mode 100755 index 0000000..20042c1 --- /dev/null +++ b/scheme/examples/regions.scm @@ -0,0 +1,73 @@ +../../scx <