Hi to the OM community!
I would like to automatize the change of color to a list of bpfs (connected to a bpf-lib).
Regarding this I have a 2 questions:
- In OM-book 1, article "Fractals and Writing, ‘Six Fractal Contemplations’ " by Mikhail Malt (p. 157/158) there is an abstraction “set-bpf-color” written in LISP-code as an S-expression:
(lambda(self color)(setf (bpfcolor self) color) self). How can I apply this expression to the graphical programming?
- I am not familiar with the format in which OM (and/or LISP) handles/designates the colors. (I was trying to find some information on this issue, but most of the articles I have found are strictly connected to the LISP-based graphical programs. Hence, I am not sure does the same principal also apply to the OM.) In other words, how can I designate specific colors with numbers? Please, can you give me a short explanation, or a hint where I can find this information!