We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › how to use toxiclibs
Page Index Toggle Pages: 1
how to use toxiclibs (Read 1869 times)
how to use toxiclibs
May 8th, 2007, 4:22pm
 
guys?

http://code.google.com/p/toxiclibs/downloads/list
Re: how to use toxiclibs
Reply #1 - May 8th, 2007, 6:50pm
 
how about downloading them and then read the readme inside ... Smiley

F
Re: how to use toxiclibs
Reply #2 - May 8th, 2007, 7:05pm
 
hahahha!
maybe some demos?
Re: how to use toxiclibs
Reply #3 - May 8th, 2007, 7:18pm
 
Quoting from my blog:

Quote:
I've started putting up some of my Processing/Java tidbits to GoogleCode (it was simply easier/faster to setup than sf.net). This is not a collection of libraries, but a slowly growing SVN repository of classes I've written over the past year or so and been finding myself re-using a lot. A couple of them are still quite buggy too, unfortunately.

So please consider this more of a heads up rather than an official launch. Some of the stuff is not usable from within the default Processing IDE, some classes rely on the "new" Java5 syntax features, but still might be helpful to somebody (e.g. Eclipse users). Included in this loose collection are general purpose classes like:

   * a comprehensive 3D Vector class with many methods available in mutable and unmutable versions. It also has some basic collision/intersection testing methods included which I needed for the Audi project above. Javadoc is incl. in the download.
   * wave oscillators. All based on a common framework, new wave types can be added easily.
   * greyscale image filters used by the newer version of my libcv library.
   * colour palette utilities
   * etc.

Have a browse through and let me know any probs via the issue tracker...


There're no demos available but Javadocs are included with the download...
Re: how to use toxiclibs
Reply #4 - Jul 15th, 2007, 4:06pm
 
Robert pinged me the other day about a geometry problem he wanted to solve with the Vec3D class and so I've helped out and added another few helpful features to the toxi.geom package.

I've just uploaded a new version 0005 of the libraries including a very first example demonstrating various features of the Vec3D class and how to do ray reflection on a sphere...

The ray intersection & reflection code is based on interfaces so one can plugin versions for other types of geometry without requiring to change user code in your sketch...

Example: http://toxi.co.uk/p5/rayreflect/

New release: http://code.google.com/p/toxiclibs/ (incl. example + javadocs)

Hope that's helpful!
Re: how to use toxiclibs
Reply #5 - Oct 21st, 2007, 10:22pm
 
hi toxi

out of interest, how much faster is the FastMath object in your library than the usual math methods of processing? and can you say roughly how you achieve it?

thanks
Re: how to use toxiclibs
Reply #6 - Oct 22nd, 2007, 2:18pm
 
As you can see over here, there're only a few (collected) methods which are faster than the standard Java implementation, but at the same time you don't want to use them in all circumstances. The speed gain comes from using approximations only which, for example, is quite useful when having to sort a large number of objects by distance etc. The rest of the methods are just for convenience, similar to Processing's built-in maths functions, however I don't want any explicit dependency on PApplet&co within the toxiclibs project...
Re: how to use toxiclibs
Reply #7 - Oct 22nd, 2007, 5:54pm
 
got it, thanks toxi
Page Index Toggle Pages: 1