Simple Interference circle effect

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Simple Interference circle effect

Post by osgeld »

Simple Interference circle effect

(public domain, if you need clarification)

simple theory:
2 similar patterns passing over each other at different angles will create a new additive type pattern, ie hold your fingers, spread apart, on both hands, over each other and change the angle of your 2 hands...

simple execution:
ring pattern passing over each other in opposite directions in a set offset (from a fixed center point) radius, ie move in a circle

simple benefits of this post:
1) create a nifty effect in ~30 lines of script, that will either get you that "your a dork" look from your better half, make a drunk puke on the floor (hopefully not yours), or make everyone who has never seen / done this type of effect give you mad props on a forum (cough, cough)

2) learn how to move "objects" in a circle with minimal script, handy next time your making a top down type of game, or need a bitchin loading icon, ect

3) its the first thing i have released ever on the love forums ;)
Attachments
intf.love
(240.06 KiB) Downloaded 297 times
Screenshot.jpg
Screenshot.jpg (8.79 KiB) Viewed 5534 times
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: Simple Interference circle effect

Post by Merkoth »

Hehe, if I stare at it for too long I get dizzy :P Me likes :)
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Simple Interference circle effect

Post by osgeld »

Merkoth wrote:Hehe, if I stare at it for too long I get dizzy :P Me likes :)
lol thats what i strive for
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Simple Interference circle effect

Post by Kaze »

Cool.
Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests