member since June 14, 2010
profile picture

portfolio of
Christophe Guebert

Trails

(Move the mouse to draw across the screen.)

Some experiments on the manipulation of curves.
A particle is attached to the mouse, which create a fixed-length trail, which is smoothed using a Bezier spline. Small segments of it are drawn again in a different color.
A second curve is also created rotating around the Bezier curve, and only a moving section is drawn, using a color gradient.

Ribbon

A 2d textured Bezier patch which control points are moving autonomously, and its opacity depending on the distance of neighbor points. Rendered in real time using OpenGL, with Buffer Objects for speedup.

SPACE : new random control polygon
0-9 : change colors
+/- : increase/decrease subdivision
p : pause movement
o : toggle opacity computation
t : toggle texture
g : toggle drawing of the quads

NOTE : some versions of the JRE can have problems loading JOGL applets like this one. (Actually, I cannot load it on any of my PCs, windows nor linux).

Topography

The map generation is a conversion from ActionScript of this project : https://github.com/amitp/mapgen2 (by Amit Patel, under the MIT License)
The rendering uses a work-in-progress library of mine for parametric drawing.

Keys :
SPACE - start the generation of another map
ENTER - restart the generation, but stop after the first step ; press again for each successive creation step.
S - smooth colors and biomes across the polygons
N - add noise in the polygon edges
E - show elevation
M - show moisture
B - show map (default)
R - switch between simple or custom render

Falling Sand

Another particle simulation !
New : use the mouse (see below) to draw your own obstacles.

I use a grid to speed up the search for neighbors, and precompute a sort of distance field for the collisions with the shapes.

Keys :
'0' to '9' to choose a predefined shape
space bar to reset the particles
backspace to toggle the bottom border
mouse click to activate the mouse repulsion
shift + mouse click to draw
control + mouse click to erase

Curvy

First example of my new particle engine.
Particles are emitted at the mouse position, a force is applied to bend the particle's trajectory, which is drawn as a ribbon.

'g' to show or hide the GUI, spacebar to pause.

I put the gui in a library (not released yet).

Push Letters

Particle simulation with a fast grid-based neighbours search (8000 particles and approximately 20k springs).

Move the mouse to push the particles around, press the space bar to randomize their position.
Press any character or digit key to make a hole.

Tiny GUI 2

A small example to illustrate the MinyGUI Library.
Now with color chooser, gradient and graph editors !
(Ctrl+click to add new points in graphs and gradients, the rest should be self-explanatory)

Sorry for the lack of comments in the code...
Next step is the creation of a nice library and its documentation.

Color Cycling 4

8-bits images animated by shifting color palette.
Horizontal position of the mouse is used to blend between images.

Idea from Joseph Hackaby, Art by Mark Ferrari.

Color Cycling 3

8-bits images animated by shifting color palette.
Horizontal position of the mouse is used to blend between images.

Idea from Joseph Hackaby, Art by Mark Ferrari.

Color Cycling 2

8-bits images animated by shifting color palette.
Horizontal position of the mouse is used to blend between images.

Idea from Joseph Hackaby, Art by Mark Ferrari.

Color Cycling

8-bits images animated by shifting color palette.
Horizontal position of the mouse is used to blend between images.

Idea from Joseph Hackaby, Art by Mark Ferrari.

Tiny GUI

A easy-to-use GUI for my future experiments in physics simulation.
The emphasis is on simplicity, so it is not very customizable.

StarRace 2d

An experiment in artificial intelligence and path planning : 3 spaceships competing in a small race.
You can navigate the blue ship with the arrow keys, 'r' to reset its position, 's' to make it stop and 'd' to resume the AI.

'i' to show what is computing the AI.
followed by
47
following
0

collections and classrooms

submitted sketches to:
2D Simulations

favorites

Share Share Subscribe to sketches