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.
IndexDiscussionExhibition › voronoi+processing+p5sunflow
Pages: 1 2 3 
voronoi+processing+p5sunflow (Read 9874 times)
voronoi+processing+p5sunflow
Nov 3rd, 2009, 5:04pm
 
Processing is great!

I used the following
www.wblut.com - Voronoi ball
www.hipstersinc.com/p5sunflow/ - P5Sunflow library

http://www.vimeo.com/7424246


Re: voronoi+processing+p5sunflow
Reply #1 - Nov 3rd, 2009, 6:02pm
 
looking good
Re: voronoi+processing+p5sunflow
Reply #2 - Nov 9th, 2009, 12:31pm
 
cool!
Re: voronoi+processing+p5sunflow
Reply #3 - Nov 9th, 2009, 4:17pm
 
Looking cool!
I'm trying to play with P5sunflow, but it's giving me grief...

The website says "Sunflow is compiled to Java 1.5 (well, usually 1.6, but 1.5 in my zip. You're welcome). My code's compiled to 1.5. You simply cannot run this with Java 1.4. When you download the Processing bundle that comes with Java, you're running Java 1.4. Don't do that."

Any ideas how to do this on a mac? I see a windows release that doesn't come with it's own java, how can I run processing with a newer version of java?
Re: voronoi+processing+p5sunflow
Reply #4 - Nov 9th, 2009, 6:28pm
 
Durf, found it: http://www.punyblog.com/2009/10/sunflow-output-from-processing.html

Using this one works fine with my 1.0.1 osx processing.
Re: voronoi+processing+p5sunflow
Reply #5 - Nov 11th, 2009, 1:29am
 
Jock,
you did me a huge gift by pointing us to that link. I am rendering non-stop since yesterday everything  Cheesy



Re: voronoi+processing+p5sunflow
Reply #6 - Nov 11th, 2009, 2:45pm
 
You're welcome! I hate seeing other people having success with (near) identical tools to my own and not being able to replicate it. Glad the link helped.
Re: voronoi+processing+p5sunflow
Reply #7 - Nov 11th, 2009, 4:09pm
 
Jock wrote on Nov 9th, 2009, 6:28pm:
Durf, found it: http://www.punyblog.com/2009/10/sunflow-output-from-processing.html

Using this one works fine with my 1.0.1 osx processing.

I can't find the library there
I've been completely unable to run this on my OSX
how do you get to make it work
Re: voronoi+processing+p5sunflow
Reply #8 - Nov 11th, 2009, 4:38pm
 
http://www.punyblog.com/wp-content/uploads/2009/10/library.zip

download this zip file and extract it in ~/Documents/Processing/Library/p5sunflow/
(you have to create the p5sunflow folder)

Restart Processing if it was open.

and try this code

Quote:
import hipstersinc.sunflow.shape.*;
import hipstersinc.sunflow.*;
import hipstersinc.sunflow.shader.*;
import hipstersinc.sunflow.util.*;
import hipstersinc.*;
import hipstersinc.sunflow.light.*;


void setup() {
 size(350, 200, "hipstersinc.P5Sunflow");
  noLoop();
}

void draw() {
  background(255);

  int numSpheres = 4;
  float yStep = width/4;
  float y = 40;

  for(int i=0; i<numSpheres; i++) {
    pushMatrix();
    translate(y, height/2);

    fill( i*(255/numSpheres), random(100, 200), random(0, 100) );
    sphere(40);
    popMatrix();

    y += yStep;
  }
}

Re: voronoi+processing+p5sunflow
Reply #9 - Nov 11th, 2009, 4:46pm
 
Yay!
Thank you so much Smiley
you did re-compile it, didn't you?
i don't even have eclipse, so this was very useful Smiley
Re: voronoi+processing+p5sunflow
Reply #10 - Nov 12th, 2009, 2:13am
 
Here, I made this earlier.

Re: voronoi+processing+p5sunflow
Reply #11 - Nov 13th, 2009, 5:30pm
 
cool stuff!
Re: voronoi+processing+p5sunflow
Reply #12 - Nov 15th, 2009, 5:25am
 
Definitely a cool library! Albeit one that requires some patience Wink
Re: voronoi+processing+p5sunflow
Reply #13 - Nov 15th, 2009, 6:03pm
 
Thats awesome, thanks for sharing
Re: voronoi+processing+p5sunflow
Reply #14 - Nov 16th, 2009, 2:48am
 
Smiley
I did this:
...

I would like to know how to define materials and if such materials changes the way everything is rendered. 'classic' OPENGL syntax?
Pages: 1 2 3