Happy belated mother's day! Yes, it was a holiday invented for the benefit of card companies, but that doesn't make it any less important. This is a little game I threw together for my mom. I was pressed for time, but I am happy with the result. My mom seemed genuinely impressed with it. I think her high score was something like 15,000.
I feel like I should say something about my age. I'm 13 years old, which may explain for my lack of professionalism in my code & stuff. I've kept quiet about that because I like to have people judge me on the quality of my work, not my age.
It tries...
Press mouse, then move it a little ways away to start again.
I've noticed that the follower will become very happy when it reaches it's target, it does a little dance when it gets there. Or at least what it thinks is a dance. So don't make it feel bad. Also, try clicking, moving the mouse around, then keep it in one position. The follower will desperately try to keep on track. Generally, once the follower gets close enough to you, it will go into "sneaky" mode.
This is a tweak of Benjamen's "caterpillar" sketch, go there for an explanation.
I first started programming in processing on rainy April days. It rained today, and it reminded me of about a year ago when I really started to like programming. I enjoy the tranquility of grey, rainy days. This sketch is all I really wanted it to be. It is pretty simple, but I like it like that.
No UI for now.
If you get the right flow field, you may be able to see a drop go upwards, and get very large. This was not intended, but I think it can be pretty interesting.
Credit for the algorithm goes to Scott Draves, this is based off of his paper on fractal flames: http://flam3.com/flame.pdf
This has nothing to do with gravity, or the number 9000. I just like the name. This is a fractal flame generator!
Wait until the little loading bar reaches the end of the screen, and an image should appear. I used 18 of Scott's transformations from the appendix in his paper, and they create fantastic visuals. I made about 2600 of these at a resolution of 2048x2048 pixels, and I enjoy looking through them and picking out the especially nice ones.
Enjoy!
Disclaimer: I did not discover this formula myself! I found it here: http://www.fractalforums.com/new-theories-and-research/very-simple-formula-for-fractal-patterns/
I modified my badly-made Mandelbrot program in the past few minutes to show this. It is an amazing specimen.
Controls:
-o/p zooms out/in, respectively.
-wasd moves around, but I'm not sure how well that works.
-Mouse coords change the fractal.
Even more blobs! Partially inspired by Harukit's shining particle code, the blobs are attracted to the mouse.
Controls:
Press mouse to slow particles.
Press 'p' to toggle posterization.
Press any other key to change colors.
-This sketch is dedicated to my father as a kind of Christmas present (his name is at the top of the screen if you did not notice).
-The ant's direction is changed whenever it encounters a white cell on its position mapped to the CA plane, making a neat sort of pattern.
Controls:
-Press any key for a new rule set (except for 'p')
-Press the left mouse button to speed things up a bit.
-Press the right mouse button to slow them down.
Metablobs! Use the up/down keys to add more/less blobs in, and press the mouse to slow the blobs down.
Thanks to: Hidori Minamoto, (http://www.openprocessing.org/user/23107) who gave me very useful input on how to optimize the blobs, and bitcraft, (http://www.openprocessing.org/user/1720) I used the blur() filter from radiosity to help make the blobs look smoother.
I would like to see this program optimized, improved, maybe even with actual comments in the source code. The visual effects right now are kind of grainy, so feel free to tweak or use in your own sketches.
(works better in browser)
A worm, building a landscape by "tunneling" all over it, raising and lowering the terrain. Press any key to skip forwards 500 iterations. Somewhat like the sandworms in "Dune" by Frank Herbert, except for the rainbows and strange fading trails.
I've added a few more things onto the attractor...
-The upper left corner now has information about the formulas used in the attractor and the values of the variables in the equation.
-I've allowed editing of all variables in the attractor: a, b, c, and d. This is done by pressing any key. Don't forget to focus the application by clicking on it first.
-I also changed the way the attractor is rendered. It is done in low quality when the mouse is moving, but when the mouse is stationary, it starts to create a better looking image.
I had never really done anything with attractors before, and I found them much simpler than I expected. Move mouse to change parameters. Wait about 4 seconds for better image quality.
A simple base for visualizing noise. This code was originally written in java using a custom 3D projection engine I made, but I transferred it over to processing. Press any key to make a new blob.
Looks like some sort of weird gas. Exactly the same as Mist, just with blur added. Not that much of an innovation, but still pretty interesting. Press 'c' to change the color.
With a nice kind of "Star Trek science readout" theme to it, this program does absolutely nothing. Press the mouse to attract the tachyon particles back to the flux capacitor. Works much better in OPENGL. Download and change the P3D to OPENGL for the full effect.
An extension of my previous "Roots" program. I've been seeing a lot of this growing swirly lines kind of idea lately, so I figured I would make one too. Click to make a new vine, and press c to change the color. Hold down the mouse for a neat effect.
A Mandelbrot/Julia Set explorer based on the equation z=z^2+c (or z=z^3+c), with 200 iterations.
wasd-Move around.
p/o-Zoom in/out, respectively.
m-Toggle Mandelbrot/Julia Set (the location on the Mandelbrot Set will be turned into the parameters for the Julia Set, and vice-versa).
ijkl-Change parameters for the Julia Set.
t-Toggle between z=z^2+c and z=z^3+c.
c-Animate color.
A sketch inspired by Logarithm Dynamics by Kof and uses the clever idea of implementing sin() into the color from BlueThen's Circus Fluid.
Press the left mouse button to warp the grid towards the cursor, press the right mouse button to warp the gird away from the cursor.
An extension of my extension of my sketch "blobbing objects", this time with different meatball blobbing techniques. (Way to get mode on thumbnail: press c, then 3, then b)
Key controls:
1-sets it to mode 1.
2-sets it to mode 2.
(etc. up to 5)
c-toggles color mode (HSB or RGB)
b-toggles a crappy blur I built in
A simple tool for visualizing fractals
Key Controls:
wasd-Change fractal generation defaults.
z/x-Zoom in/out, respectively.
l-Toggle lighting.
t-Toggle transparency.
b-Toggle boxes/spheres.
f-Turns on wireframe.
Mouse Controls:
Mouse position determines camera rotation, left mouse button adds an iteration, right mouse button subtracts a generation.
A crazy particle fractal program, branch-like minifractals sticking out of the particles, and lines in between particles if they are close enough. Interesting enough. Press any key to stop erasing the fractals, (they are there) and press the mouse to move the particles around.
A landscape generator based on crossing and manipulating samples of Perlin Noise using various techniques.
Edit: Added 'h' to toggle rainbow color.
Controls:
Mouse Position determines Camera angle. (Based on controls I first saw in this sketch http://www.openprocessing.org/sketch/57709)
Mouse Clicked Stops/Starts the animation.
KeyCode:
wasd-Moves around the landscape.
z/x-Zooms in/out, respectively.
c/v-Changes noise scale.
b/n-Changes the Z offset (part of the generation of the terrain).
l-Toggles lines.
o/p-Changes speed of terrain reformation.
h-Toggles rainbows.
r-Restores all defaults.
Something resembling my previous sketch, this one moves by itself and makes contour-like lines as well. Clicking the mouse does nothing, press 1 to go to mode 1, and 2 to go to mode 2. Press any other key to reposition the particles.
An extension of my "Blobbing Objects" sketch, this time with a slightly different blob effect and multiple particles to blob. Click in the same place multiple times to get it started.
Key Controls:
'c'-Creates new random color pallet.
'1'-Sets the sim into mode 1.
'2'-Sets the sim into mode 2.
'3'-Sets the sim into mode 3.
Controls: Mouse pressed stops the lines from spiraling inward, and stops showing their paths. Mouse not pressed sends the lines spiraling inward. At first let the mouse hold still in the center for a few seconds, then start. Also try holding down the mouse and moving it around the screen a bit, and then releasing the mouse and hold it perfectly still, watching what happens. The code is relatively easy to figure out, it's a particle system. Enjoy.
KeyCode:
MousePressed shakes the particles around a bit and attracts them to your mouse,
q shows the particle paths and stop them from jiggling, and any other key divides the particle's velocities by 1.02.
This is a sort of fractaly terrain generator. I may upload an actual fractal terrain generator at some time, but I am still working on that. Sorry about the lag; HTML5 does not seem to have the same power as processing itself.
Controls: The mouse controls the zoom, W smooths out the landscape, and any other key generates an entirely new landscape. Don't forget to click on the program to focus it.
When the mouse is pressed, the bubbles are attracted to the mouse. I am pretty new to programming, and this is about my fourth real project in processing.