Random Noise-y Moving Things [ADDED HEX]

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Random Noise-y Moving Things [ADDED HEX]

Post by substitute541 »

Note: I put Noise-y instead of Noisy to distinguish between things moving because of noise and ears breaking because of noise.

Just a showcase of demos using love.math.noise to make cool stuff.

Here are a couple of my demos using noise:

Simple Water (press "o" to show outlines):
SimpleWater.love

Little Particles (moving in a bit dizzy way) :
LittleParticles.love

Squiggly Cloth (extremely laggy on high number of vertices):
SquigglyCloth.love

Colorful Dots:
ColorfulDots.love

Map Generator(top-down):
MapGen1.love

Squiggly Hexagon (press tab to cycle between modes [normal, fixed angle, fixed offset]):
SquigglyHexagon.love

You can use any of the code in the above demos in your projects if you wish!

Plan to add:
  • Mapgen (both top-down and Terraria-style)
  • Space systems (?)
Any suggestions? Make a new post below!
Last edited by substitute541 on Mon Mar 24, 2014 9:33 am, edited 4 times in total.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Random Noise-y Moving Things

Post by micha »

Nice. I like both of them.

The one with the particles creates an optical illusion. It looks like there are gray lines moving around on screen, even though it is only points. These points could also be used with a mesh to create a moving cloth effect.
User avatar
Mermersk
Party member
Posts: 108
Joined: Tue Dec 20, 2011 3:27 am

Re: Random Noise-y Moving Things [ADDED 2 MORE]

Post by Mermersk »

Very nice! Didn't know what noise was until this, looks super useful and cool.
User avatar
chezrom
Citizen
Posts: 59
Joined: Tue May 28, 2013 11:03 pm
Location: France

Re: Random Noise-y Moving Things [ADDED 2 MORE]

Post by chezrom »

Nice, I like it.

For particles, you can place points at random, not in a grid.
We need a random distribution that seems "natural" and in this case, it is a "blue noise". (https://en.wikipedia.org /wiki/Blue_noise#Blue_noise or http://www.redblobgames.com/articles/no ... ction.html less theoric)
A good method to have "blue noise" is Poisson disk that generate points with a minimal distance between each. There exists quick algorithm to do that, and I implement one in poisson.lua.

Here's the result :
vibration.love
(2.44 KiB) Downloaded 166 times
You can see that the illusion of "wave' is less visible, so it is not a good thing :(

EDIT : I also modify for the color dots, it's strange. I code three display mode, you can navigate between then with the TAB key.
colorpoints.love
(2.75 KiB) Downloaded 164 times
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Random Noise-y Moving Things [ADDED MAPGEN]

Post by Germanunkol »

Chezrum, that is extremly pretty!

I also like the demos in the original posts. Come to think of it, I really like noise :).
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
User avatar
chezrom
Citizen
Posts: 59
Joined: Tue May 28, 2013 11:03 pm
Location: France

Re: Random Noise-y Moving Things [ADDED MAPGEN]

Post by chezrom »

Thank you Germanunkol for your feedback.

I do another version of this "color points" with new display modes and choice of the number of "noise octaves" (between 1 and 4), in a "bar" that appear at the top of the widow when the mouse is near the top (as the task bar of windows). [b}TAB[/b] can be always use to cycle display mode. (the code of the 'GUI' is quick & dirty)
colorpoints.love
(4.01 KiB) Downloaded 152 times
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: Random Noise-y Moving Things [ADDED HEX]

Post by substitute541 »

Added a cool little squiggly hexagon.

Press Tab to cycle through modes (normal, fixed angle, fixed offset.)
SquigglyHexagon.love
boing.
(1.06 KiB) Downloaded 284 times
Currently designing themes for WordPress.

Sometimes lurks around the forum.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests