The cl-aristid Reference Manual

This is the cl-aristid Reference Manual, version 0.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:39:37 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-aristid

Draw Lindenmayer Systems with Common LISP!

Author

FdelMazo, JDSanto, camidvorkin, anitasec

License

MIT

Version

0.0.2

Dependencies
  • cl-svg (system).
  • cl-colors (system).
Source

cl-aristid.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-aristid/cl-aristid.asd

Source

cl-aristid.asd.

Parent Component

cl-aristid (system).

ASDF Systems

cl-aristid.


3.1.2 cl-aristid/package.lisp

Source

cl-aristid.asd.

Parent Component

cl-aristid (system).

Packages

cl-aristid.


3.1.3 cl-aristid/cl-aristid.lisp

Dependency

package.lisp (file).

Source

cl-aristid.asd.

Parent Component

cl-aristid (system).

Public Interface
Internals

3.1.4 cl-aristid/canvas.lisp

Dependency

cl-aristid.lisp (file).

Source

cl-aristid.asd.

Parent Component

cl-aristid (system).

Internals

3.1.5 cl-aristid/fractal.lisp

Dependency

canvas.lisp (file).

Source

cl-aristid.asd.

Parent Component

cl-aristid (system).

Public Interface

make-fractal (function).

Internals

4 Packages

Packages are listed by definition order.


4.1 cl-aristid

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Macros

Macro: defaristid (name &rest body)
Package

cl-aristid.

Source

cl-aristid.lisp.

Macro: defrule (sym -> replace &key prob)
Package

cl-aristid.

Source

cl-aristid.lisp.


5.1.2 Ordinary functions

Function: [ (canvas)
Package

cl-aristid.

Source

cl-aristid.lisp.

Function: ] (canvas)
Package

cl-aristid.

Source

cl-aristid.lisp.

Function: draw (fractal gen &key background)
Package

cl-aristid.

Source

cl-aristid.lisp.

Function: make-fractal (&key name axiom rules)
Package

cl-aristid.

Source

fractal.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: %make-canvas (&key matrix dir point prev-point corners stack)
Package

cl-aristid.

Source

canvas.lisp.

Function: -> (old new &optional prob)
Package

cl-aristid.

Source

cl-aristid.lisp.

Function: apply-commands (canvas command-arr)
Package

cl-aristid.

Source

fractal.lisp.

Function: aristid (&key angle len nodraw color)
Package

cl-aristid.

Source

cl-aristid.lisp.

Reader: canvas-corners (instance)
Writer: (setf canvas-corners) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

corners.

Reader: canvas-dir (instance)
Writer: (setf canvas-dir) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

dir.

Reader: canvas-matrix (instance)
Writer: (setf canvas-matrix) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

matrix.

Function: canvas-move (canvas)
Package

cl-aristid.

Source

canvas.lisp.

Function: canvas-p (object)
Package

cl-aristid.

Source

canvas.lisp.

Reader: canvas-point (instance)
Writer: (setf canvas-point) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

point.

Reader: canvas-prev-point (instance)
Writer: (setf canvas-prev-point) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

prev-point.

Reader: canvas-stack (instance)
Writer: (setf canvas-stack) (instance)
Package

cl-aristid.

Source

canvas.lisp.

Target Slot

stack.

Function: commands (n str rules)
Package

cl-aristid.

Source

fractal.lisp.

Function: copy-canvas (instance)
Package

cl-aristid.

Source

canvas.lisp.

Function: copy-fractal (instance)
Package

cl-aristid.

Source

fractal.lisp.

Function: create-svg (canvas bg)
Package

cl-aristid.

Source

canvas.lisp.

Function: d2r (degrees)
Package

cl-aristid.

Source

canvas.lisp.

Function: draw-fractal (fractal gen background)
Package

cl-aristid.

Source

fractal.lisp.

Function: draw-point (canvas &optional color)
Package

cl-aristid.

Source

canvas.lisp.

Function: flatten (tree)
Package

cl-aristid.

Source

fractal.lisp.

Reader: fractal-axiom (instance)
Writer: (setf fractal-axiom) (instance)
Package

cl-aristid.

Source

fractal.lisp.

Target Slot

axiom.

Reader: fractal-name (instance)
Writer: (setf fractal-name) (instance)
Package

cl-aristid.

Source

fractal.lisp.

Target Slot

name.

Function: fractal-p (object)
Package

cl-aristid.

Source

fractal.lisp.

Reader: fractal-rules (instance)
Writer: (setf fractal-rules) (instance)
Package

cl-aristid.

Source

fractal.lisp.

Target Slot

rules.

Function: get-next-color ()
Package

cl-aristid.

Source

canvas.lisp.

Function: make-canvas ()
Package

cl-aristid.

Source

canvas.lisp.

Function: pop-stack (canvas)
Package

cl-aristid.

Source

canvas.lisp.

Function: push-stack (canvas)
Package

cl-aristid.

Source

canvas.lisp.

Function: random-increase (color)
Package

cl-aristid.

Source

canvas.lisp.

Function: rotate-dir (dir angle)
Package

cl-aristid.

Source

canvas.lisp.

Function: string-rewrite (str rules)
Package

cl-aristid.

Source

fractal.lisp.

Function: svg-add-iteration (svg canvas)
Package

cl-aristid.

Source

canvas.lisp.

Function: turn-angle (canvas angle)
Package

cl-aristid.

Source

canvas.lisp.


5.2.2 Structures

Structure: canvas
Package

cl-aristid.

Source

canvas.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: matrix
Readers

canvas-matrix.

Writers

(setf canvas-matrix).

Slot: dir
Readers

canvas-dir.

Writers

(setf canvas-dir).

Slot: point
Readers

canvas-point.

Writers

(setf canvas-point).

Slot: prev-point
Readers

canvas-prev-point.

Writers

(setf canvas-prev-point).

Slot: corners
Readers

canvas-corners.

Writers

(setf canvas-corners).

Slot: stack
Readers

canvas-stack.

Writers

(setf canvas-stack).

Structure: fractal
Package

cl-aristid.

Source

fractal.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: name
Readers

fractal-name.

Writers

(setf fractal-name).

Slot: axiom
Readers

fractal-axiom.

Writers

(setf fractal-axiom).

Slot: rules
Readers

fractal-rules.

Writers

(setf fractal-rules).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (   -   [   ]  
A   C   D   F   G   M   P   R   S   T  
Index Entry  Section

%
%make-canvas: Private ordinary functions

(
(setf canvas-corners): Private ordinary functions
(setf canvas-dir): Private ordinary functions
(setf canvas-matrix): Private ordinary functions
(setf canvas-point): Private ordinary functions
(setf canvas-prev-point): Private ordinary functions
(setf canvas-stack): Private ordinary functions
(setf fractal-axiom): Private ordinary functions
(setf fractal-name): Private ordinary functions
(setf fractal-rules): Private ordinary functions

-
->: Private ordinary functions

[
[: Public ordinary functions

]
]: Public ordinary functions

A
apply-commands: Private ordinary functions
aristid: Private ordinary functions

C
canvas-corners: Private ordinary functions
canvas-dir: Private ordinary functions
canvas-matrix: Private ordinary functions
canvas-move: Private ordinary functions
canvas-p: Private ordinary functions
canvas-point: Private ordinary functions
canvas-prev-point: Private ordinary functions
canvas-stack: Private ordinary functions
commands: Private ordinary functions
copy-canvas: Private ordinary functions
copy-fractal: Private ordinary functions
create-svg: Private ordinary functions

D
d2r: Private ordinary functions
defaristid: Public macros
defrule: Public macros
draw: Public ordinary functions
draw-fractal: Private ordinary functions
draw-point: Private ordinary functions

F
flatten: Private ordinary functions
fractal-axiom: Private ordinary functions
fractal-name: Private ordinary functions
fractal-p: Private ordinary functions
fractal-rules: Private ordinary functions
Function, %make-canvas: Private ordinary functions
Function, (setf canvas-corners): Private ordinary functions
Function, (setf canvas-dir): Private ordinary functions
Function, (setf canvas-matrix): Private ordinary functions
Function, (setf canvas-point): Private ordinary functions
Function, (setf canvas-prev-point): Private ordinary functions
Function, (setf canvas-stack): Private ordinary functions
Function, (setf fractal-axiom): Private ordinary functions
Function, (setf fractal-name): Private ordinary functions
Function, (setf fractal-rules): Private ordinary functions
Function, ->: Private ordinary functions
Function, apply-commands: Private ordinary functions
Function, aristid: Private ordinary functions
Function, canvas-corners: Private ordinary functions
Function, canvas-dir: Private ordinary functions
Function, canvas-matrix: Private ordinary functions
Function, canvas-move: Private ordinary functions
Function, canvas-p: Private ordinary functions
Function, canvas-point: Private ordinary functions
Function, canvas-prev-point: Private ordinary functions
Function, canvas-stack: Private ordinary functions
Function, commands: Private ordinary functions
Function, copy-canvas: Private ordinary functions
Function, copy-fractal: Private ordinary functions
Function, create-svg: Private ordinary functions
Function, d2r: Private ordinary functions
Function, draw: Public ordinary functions
Function, draw-fractal: Private ordinary functions
Function, draw-point: Private ordinary functions
Function, flatten: Private ordinary functions
Function, fractal-axiom: Private ordinary functions
Function, fractal-name: Private ordinary functions
Function, fractal-p: Private ordinary functions
Function, fractal-rules: Private ordinary functions
Function, get-next-color: Private ordinary functions
Function, make-canvas: Private ordinary functions
Function, make-fractal: Public ordinary functions
Function, pop-stack: Private ordinary functions
Function, push-stack: Private ordinary functions
Function, random-increase: Private ordinary functions
Function, rotate-dir: Private ordinary functions
Function, string-rewrite: Private ordinary functions
Function, svg-add-iteration: Private ordinary functions
Function, turn-angle: Private ordinary functions
Function, [: Public ordinary functions
Function, ]: Public ordinary functions

G
get-next-color: Private ordinary functions

M
Macro, defaristid: Public macros
Macro, defrule: Public macros
make-canvas: Private ordinary functions
make-fractal: Public ordinary functions

P
pop-stack: Private ordinary functions
push-stack: Private ordinary functions

R
random-increase: Private ordinary functions
rotate-dir: Private ordinary functions

S
string-rewrite: Private ordinary functions
svg-add-iteration: Private ordinary functions

T
turn-angle: Private ordinary functions