Logo by mclarekin - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 25, 2024, 02:52:23 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: "processing" a simple but flexible language  (Read 5344 times)
0 Members and 2 Guests are viewing this topic.
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« on: March 13, 2015, 10:24:58 AM »

Looks promising ... in few lines you get a 3d rendering smiley
And you can transform the space - so fractals can be easily generated.

https://processing.org/examples/perspective.html
Logged

No sweat, guardian of wisdom!
flexiverse
Safarist
******
Posts: 99



« Reply #1 on: March 14, 2015, 05:55:02 AM »

Looks promising ... in few lines you get a 3d rendering smiley
And you can transform the space - so fractals can be easily generated.

https://processing.org/examples/perspective.html

I think shadertoy.com is more up our street.
Logged
russ
Forums Newbie
*
Posts: 7


« Reply #2 on: August 12, 2015, 12:52:26 PM »

One nice thing about processing is how it abstracts away all the CPU-side OpenGL boilerplate you otherwise need to get geometry and shaders up and running, and replaces them with simple, obvious functions that let you get down and dirty with the good stuff straight away. If I'd had to learn all the code for program objects, buffer-binding, etc. etc. upfront I might have given up before I even got to GLSL!

Here's my 'Shadertoy' type setup in processing...

Code:
PShader shade;
String name = "reflections.glsl";

void setup(){
  size(1000,700,P2D);
  shade = loadShader(name);
  shade.set("resolution",float(width),float(height));
  frameRate(60);
}

void draw(){
  shade.set("time",millis()/1000.0);
  shader(shade);
  rect(0,0,width,height);
}


Easy as that grin
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Special "offset" and "rotate" options from Fractallab possible in M3d-formula? Mandelbulb 3d « 1 2 » SaMMy 18 30877 Last post April 05, 2011, 12:20:52 PM
by DarkBeam
Anyone know/tried "Haxe" (multiplatform language) Programming ker2x 1 1514 Last post May 21, 2012, 02:14:54 PM
by cKleinhuis
I had a vague idea that "fractal" was related to "pretty pictures" Meet & Greet Repomancer 5 8594 Last post October 10, 2012, 02:04:23 AM
by David Makin
"mercator" vs "power of two" Programming DustyMonkey 4 9772 Last post December 27, 2013, 09:46:49 PM
by SeryZone
"The Amiga Years" from the makers of "Bedrooms to Billions" Non-Fractal related Chit-Chat David Makin 11 9703 Last post April 01, 2015, 09:31:04 PM
by cKleinhuis

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.201 seconds with 24 queries. (Pretty URLs adds 0.017s, 2q)