Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dave Griffiths
jellyfish
Commits
ad8f5c77
Commit
ad8f5c77
authored
Jan 23, 2014
by
Dave Griffiths
Browse files
readme
parent
15f1df0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ad8f5c77
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment