[Fluxus] build-type crash

kubriel kubriel at gmail.com
Tue Mar 29 10:53:08 PDT 2011


>the following script crashes after running for about 1-2 minutes. it
>is a simple build/destroy script with type primitives. can someone
>repeat this or is it only happening on my setup?

i have fluxus from archs aur, and this is not crashing, i tested it at
least 5-7min..

but i have other script crashing randomly after while, maybe related to
single/double precission of ode library:

(clear)
(desiredfps 30)
(show-fps 1)

(set-max-physical 5000)
(gravity (vector 0 0 0))
(collisions 1)

(define (x)
    (+ 0.2 (* 1 (* (rndf) (rndf)))))

(define (x2)
    (* 3 (crndf)))

(define (x3 multi)
    (fmod (+ 1.3 (* multi (* (rndf) (rndf)))) 1))

(define (build count)
            (with-state
                (colour (vector (x3 1) (x3 1) (x3 1)))
                (translate (vector (x2) (x2) (x2)))
                (scale (vector (x) (x) (x)))
                (active-box(build-cube))))

(every-frame (build 1))




More information about the Fluxus mailing list