Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
3Activity
P. 1
Fluxus Documentation

Fluxus Documentation

Ratings: (0)|Views: 950|Likes:
Published by foodmood
Fluxus livecoding enviroment manual
Fluxus livecoding enviroment manual

More info:

Published by: foodmood on Nov 03, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/01/2012

pdf

text

original

 
Fluxus Manual [version 0.16]
: This work is licensed under Creative Commons Attribution-Share Alike 2.5 Generic
Fluxus Manual 0.16
Table of Contents
Introduction.........................................................................................................4Quickstart............................................................................................................4User Guide...........................................................................................................5Camera control................................................................................................5Workspaces......................................................................................................5 The REPL..........................................................................................................5Keyboard commands.......................................................................................6Scheme................................................................................................................6Scheme as calculator.......................................................................................7Naming values.................................................................................................7Naming procedures..........................................................................................8Making some shapes.......................................................................................8 Transforms.......................................................................................................9Recursion.......................................................................................................10Animation......................................................................................................10More recursion...............................................................................................11Comments.....................................................................................................11Let..................................................................................................................12Lambda..........................................................................................................13 The State Machine.............................................................................................13 The Scene graph............................................................................................14Note on grabbing and pushing.......................................................................15Input..................................................................................................................16Sound.............................................................................................................16Keyboard........................................................................................................16Mouse............................................................................................................17OSC................................................................................................................18 Time...............................................................................................................18Material properties............................................................................................19 Texturing............................................................................................................20Loading textures............................................................................................20 Texture coordinates........................................................................................21 Texture parameters........................................................................................21Multitexturing................................................................................................22Mipmapping...................................................................................................23Cubemapping.................................................................................................24Lighting..............................................................................................................24Shadows........................................................................................................25Problems with shadows..................................................................................26Render hints......................................................................................................26About Primitives................................................................................................27Primitive state................................................................................................27
Page 1
 
Fluxus Manual [version 0.16]
: This work is licensed under Creative Commons Attribution-Share Alike 2.5 Generic
Primitive Data Arrays [aka. Pdata].................................................................28Mapping, Folding............................................................................................29Instancing......................................................................................................29Built In Immediate Mode Primitives...............................................................30Primitive types...................................................................................................30Polygon Primitive...........................................................................................30Indexed polygons...........................................................................................32NURBS Primitives...........................................................................................32Particle primitives..........................................................................................33Ribbon primitives...........................................................................................33 Text primitive.................................................................................................34 Type Primitive................................................................................................34Locator primitive............................................................................................35Pixel primitive................................................................................................35Blobby Primitives...........................................................................................36Converting to polygons..................................................................................37Deforming..........................................................................................................37User Pdata.....................................................................................................38Pdata Operations...........................................................................................39Pdata functions..............................................................................................40Using Pdata to build your own primitives......................................................41Cameras............................................................................................................41Moving the camera........................................................................................41Stopping the mouse moving the camera.......................................................42More camera properties.................................................................................42Fogging..........................................................................................................43Using multiple cameras.................................................................................43Noise and randomness......................................................................................43Randomness..................................................................................................43Noise..............................................................................................................44Scene Inspection...............................................................................................44Scene graph inspection.................................................................................44Collision detection.........................................................................................45Ray Casting....................................................................................................45Primitive evaluation.......................................................................................46Physics...............................................................................................................46Primitive loading And Saving.............................................................................46COLLADA format support...............................................................................47Shaders.............................................................................................................47Samplers........................................................................................................48 Turtle Builder.....................................................................................................48Notes on writing large programs in fluxus.........................................................49Structs...........................................................................................................50Classes...........................................................................................................51Making Movies...................................................................................................51Syncing to audio............................................................................................51Syncing with keyboard input for livecoding recordings..................................51Syncing Problems Troubleshooting................................................................52
Page 2
 
Fluxus Manual [version 0.16]
: This work is licensed under Creative Commons Attribution-Share Alike 2.5 Generic
Fluxus In DrScheme...........................................................................................52Miscellaneous important nuggets of information..............................................53Getting huge framerate speeds.....................................................................53Unit tests.......................................................................................................53Fluxus Scratchpad And Modules........................................................................53Modules.........................................................................................................54Scheme modules...........................................................................................54Fluxa..................................................................................................................54Non-determinism...........................................................................................55Synthesis commands.....................................................................................55Operator nodes..............................................................................................55Global audio...................................................................................................56Sequencing commands..................................................................................56Syncing..........................................................................................................57Known problems/todos..................................................................................58Frisbee...............................................................................................................58A simple frisbee scene...................................................................................58Animation......................................................................................................59Making things reactive...................................................................................60Spawning objects...........................................................................................60Converting behaviours to events...................................................................61Particles.........................................................................................................61Function reference.............................................................................................62fluxa...............................................................................................................62scheme-utils..................................................................................................70midi................................................................................................................81turtle..............................................................................................................82physics...........................................................................................................85maths.............................................................................................................95lights............................................................................................................102renderer.......................................................................................................108audio............................................................................................................110global-state..................................................................................................112local-state....................................................................................................123primitive-data..............................................................................................141primitives.....................................................................................................144util-functions................................................................................................159osc...............................................................................................................162scratchpad...................................................................................................164high-level-scratchpad-docs..........................................................................170frisbee..........................................................................................................175testing-functions..........................................................................................176
 
Introduction
Fluxus is an environment which allows you to quickly make live animation andaudio programs, and change them constantly and flexibly. This idea of constant
Page 3

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->