member since January 22, 2012
profile picture

portfolio of
Adam Lastowka

Spacey Maker

Perlin Noise-based IFS, click for a new one. Looks really nice in higher resolution with lower alpha and a floating-point framebuffer.

It would be nice if someone could tweak here and improve the color.

Rotate Thing

A thing I did for my dad. Press the mouse to switch modes, moving the mouse around does some stuff too. Code's nice n' short.

Oh, and don't forget to wait awhile.

Rectangles

Simple concept, wanted to see it. Feel free to tweak, tweaks are fun!

Usage is pretty straightforward, mouse press starts a new line, key pressed clears the screen.

Vector Fields

I've been trying to wrap my head around differential equations and vector calculus and things, and I was having trouble checking my work (WolframAlpha can be a bit annoying). So I made this! Modify dx() dy() to put in your own equations (so long as they're in the right form...)

Anyway, mouseX and mouseY set x0 and y0, press q to zoom out and e to zoom in. The whole thing looks MUCH better in the newer versions of processing, with P2D improved.

It's plotting y' = (y-x)/(ysiny), which has no explicit solution (probably no implicit one either).

Mother's Day

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.

Anyway, have fun!

Majyk

Moar particles! You now wield the power of Majyk, the ancient forces are bound to your mouse.

Confused Mouse Follower

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.

Rain

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.

Gravitron9000

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!

FancyFractal

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.

More Blobs

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.

Rotation

Rotation can be more interesting than you might think...

Controls:
Press the right mouse button to rotate counterclockwise.
Press the left mouse button to rotate clockwise.

CAnt

-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.

Julia Set

A simple Julia set created by inverse iteration.
Move the mouse to change the parameters of the set.

Subdividing

The title pretty much says everything...

Worm

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.

De Jong Advanced

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.

De Jong Attractor

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.

NoiseSphere

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.

Whisps

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.

Mist

Use the mouse to influence it, press 'c' to change it's color.

Interflux

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.

Vines

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.

Mandelbrot/Julia Set Explorer

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.

Grid Warping

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.

Blobby Particles #2

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

Roots

Click to make more roots.

Vome

A neat little effect, with not much code (except for the foggying). Mouse controls rotation.

Fractal Demonstration

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.

FRaCtal

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.

RippleScape

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.

Colorful Dust

A colorful Dust Thingy. Press 'p' to take a picture, press any other key to show dust lines

The Contour Effect

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.

Blobby 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.

Blobbing Objects

A way to blob objects together. Press the mouse to attract the other object.

Swirly Rainbow Lines

A swirly rainbow particle system, press the mouse to attract the particles, Spirograph style.

Other controls:
Press 'r' to reset, press 'p' to save a picture, press any other key to clear the screen.

Amazing Rainbow Thing

This is an amazing rainbow thing. Use "wasd" to control the presets, and move the mouse to control the center of the rainbowness.

Terrain Generator

A cleaned-up version of my previous terrain generator, using the same algorithms for producing the terrain.

Interface: Press 's' to smooth out the terrain, any other key will generate an entirely new landscape.

Dark Clouds

A variation on my "Circulate" sketch, this time with blur added and the colors inverted.

Circulate

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.

Particle Thunder

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.

Fractaly Terrain Generation

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.

Attraction Webs

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.
followed by
123
following
55

collections and classrooms

submitted sketches to:
Fractals & Landscapes
2D Simulations

favorites

Share Share Subscribe to sketches