Commit ad8f5c77 authored by Dave Griffiths's avatar Dave Griffiths
Browse files

readme

parent 15f1df0d
......@@ -13,17 +13,15 @@ Incorporating:
* An experimental vector processor and compiler for fast procedural rendering
* OpenGL ES backend for ARM/Android/Rasperry Pi/OUYA
* Linux target: reference version (also running fixed point)
* Playstation 2 target (legacy)
* Custom hardware renderer running on vu1 path
Building
========
Linux: scons
Android/OUYA: ndk-build (will need to be part of an APK)
Raspberry Pi (you'll need scons and liblo-dev installed):
scons TARGET=RPI
* Linux: scons
* Raspberry Pi: scons TARGET=RPI (you'll need scons and liblo-dev installed)
* Android/OUYA: ndk-build (will need to be part of an APK)
Jellyfish Lisp Language Reference
=================================
......@@ -33,19 +31,19 @@ Example programs
Randomly move vertex positions
(with-primitive
(make-jelly-obj 1000
;; jellyfish lisp starts here
'(let ((vertex positions-start))
(forever
(set! vertex positions-start)
(loop (< vertex positions-end)
(write! vertex (+ (read vertex) (rndvec)))
(set! vertex (+ vertex 1)))
)))
;; jellyfish lisp ends here
(pdata-map! (lambda (p) (srndvec)) "p")
(pdata-map! (lambda (c) (rndvec)) "c"))
(with-primitive
(make-jelly-obj 1000
;; jellyfish lisp starts here
'(let ((vertex positions-start))
(forever
(set! vertex positions-start)
(loop (< vertex positions-end)
(write! vertex (+ (read vertex) (rndvec)))
(set! vertex (+ vertex 1)))
)))
;; jellyfish lisp ends here
(pdata-map! (lambda (p) (srndvec)) "p")
(pdata-map! (lambda (c) (rndvec)) "c"))
Core forms
......@@ -53,44 +51,44 @@ Core forms
TDB
let
define
cond
loop
forever
do
lambda
+
-
*
/
*v
cross
dot
eq?
>
<
set!
write!
write-add!
swizzle
rndvec
trace
read
not
mag
magsq
noise
normalise
abs
floor
sincos
ignore
round
synth-create
synth-connect
synth-play
play-now
let
define
cond
loop
forever
do
lambda
+
-
*
/
*v
cross
dot
eq?
>
<
set!
write!
write-add!
swizzle
rndvec
trace
read
not
mag
magsq
noise
normalise
abs
floor
sincos
ignore
round
synth-create
synth-connect
synth-play
play-now
Low level instruction set
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment