Dancing Line Patch

Post your awesome Wire patches here, share tutorials
Post Reply
moldybeats
Posts: 5
Joined: Wed Jan 04, 2023 04:14

Dancing Line Patch

Post by moldybeats »

This is a pretty simple line that dances around in response to the FFT. It's part of a bigger thing I'm working on that I decided to break off into its own patch, but I like some of the effects I can get running multiple instances layered over top of eachother. Thought someone might find it useful.
LineDancer1Screenshot.png
Attachments
LineDancer1.wire
(3.71 MiB) Downloaded 311 times

Christoph
Posts: 101
Joined: Wed Jun 02, 2010 09:58

Re: Dancing Line Patch

Post by Christoph »

Nice one, thanks for sharing!

tijnisfijn
Team Resolume
Posts: 226
Joined: Fri Dec 06, 2019 00:01

Re: Dancing Line Patch

Post by tijnisfijn »

yes thx... very nice...
speakers.gif
speakers.gif (47.11 KiB) Viewed 4165 times

moldybeats
Posts: 5
Joined: Wed Jan 04, 2023 04:14

Re: Dancing Line Patch

Post by moldybeats »

In the interest of improving this patch, I was wondering if anyone knew a way to clean up the "LineSegmentPos" section in the middle. Right now it reads 11 samples from the FFT and uses those to generate Y-coordinates for 11 "anchor points", then it generates hundreds of Y-coordinates between each anchor point on a curve. To do this, I'm using 1 Map node per pair of anchor points: ie. map a curve from anchor point 0 to anchor point 1, map a curve from anchor point 1 to anchor point 2, etc.

Is there a better way to do this that doesn't involve a fixed number of Map nodes? In my mind this would be something like a node that takes in a collection and outputs a larger collection, which is generated by interpolating between values in the original collection using some function. Or maybe I'm way off.

If anyone has any suggestions, let me know. Removing the fixed number of Map nodes would make it much easier to test with different numbers of anchor points.

Post Reply