Previous topicNext topic

Is there a way to get the speed of sparkles like trapnation?

Questions, comments, feedback, etc.
Post Reply
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Is there a way to get the speed of sparkles like trapnation?

Post by Egtoo »

Hello Guys,
I really want to make my sparkles (Starfield) like the sparkles of trapnation.
Take a look to the sparkles on trapnation.
https://www.youtube.com/watch?v=QeHbjjHVGAs



P.S : If you know how to make the light like trapnation has please tell me.


Sorry for my bad english im dutch.


Greats.
artnik
Posts: 276
Joined: Tue Jan 05, 2016 5:33 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by artnik »

What aspect of the speed? The stop and start motion based on the audio, or the random paths, or both?
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

artnik wrote:What aspect of the speed? The stop and start motion based on the audio, or the random paths, or both?
Both please.
Magic
Site Admin
Posts: 3680
Joined: Wed Apr 09, 2014 9:28 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Magic »

In terms of the speed, have you tried using the Starfield's Speed parameter? I think it's exactly what you're looking for. You can link it to the audio input.

For the random movement, you can experiment with the input to the Starfield, and move it or rotate it a bit. You can also superimpose multiple Starfields to mix things up. Here's an example I came up with:
screenshot.jpg
screenshot.jpg (215.6 KiB) Viewed 16339 times
I turned the Trails' Strength parameter way up so you can see the movement, but obviously you can change it to whatever you like :)
Attachments
ThreeStarfields.magic
(1.91 KiB) Downloaded 1117 times
artnik
Posts: 276
Joined: Tue Jan 05, 2016 5:33 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by artnik »

I was working on this before I logged in to see Eric's solution but figured I'd post it anyway. It's almost the same. The Magic file is annotated to show you how it's done.

The trick is to have a number of different Starfields with modified parameters to add together and give the particles relative motion.
Screen Shot 2017-02-08 at 3.47.18 PM.png
Screen Shot 2017-02-08 at 3.47.18 PM.png (274.62 KiB) Viewed 16332 times
Trap_Nation_Starfield.magic
(2.47 KiB) Downloaded 1216 times
Cheers!
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

Thankyou guys so much for this!
You all are amazing.

You guys helped me so much!!
Thanks!!
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

Does somebody also maybe know how to make a special effect on the drop?
Like trapnation they have lines on the drop in the video (If you know what I mean)
Some other channels have this https://youtu.be/_Fxv9oMkkGI?t=36s

I really want to know this! Hopefully this is possible in MagicMusicVisuals

Again thankyou guys so much for helping me it means a lot to me.
mikeymalone
Posts: 29
Joined: Thu May 05, 2016 7:48 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by mikeymalone »

What you linked was done in After Effects, but you could do similar by using specific frequency to trigger the fx with an alpha blend
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

mikeymalone wrote:What you linked was done in After Effects, but you could do similar by using specific frequency to trigger the fx with an alpha blend
Do you maybe have a sample project?

Cheers,
artnik
Posts: 276
Joined: Tue Jan 05, 2016 5:33 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by artnik »

Hey Egtoo,

Have you tried solving this?
What approaches have you tried?

Perhaps you can post the Magic file of your progress so interested people can take a look and offer advice. I find, in general, that people on forums tend to respond more positively to that than just a request for a file.
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

Ofcourse!

Here is my project.

Cheers.
Attachments
Circular Spectrum(1).magic
(15.77 KiB) Downloaded 1228 times
artnik
Posts: 276
Joined: Tue Jan 05, 2016 5:33 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by artnik »

I just did a quick and dirty port of KeyMaster's GLSL Cartesian to Polar transform from GitHub to ISF .

https://www.interactiveshaderformat.com/sketches/1727

It should make things a lot easier for the circular spectrum. you just have to work the effect you want on a linear waveform, and use this to wrap it into a circle.
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

Thanks artnik!
artnik
Posts: 276
Joined: Tue Jan 05, 2016 5:33 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by artnik »

Here's a practical example of using the ISF to achieve a similar blob effect to what I think you're after.

Once again, it's been annotated to explain how it works. It also requires an additional ISF, MIRROR: https://www.interactiveshaderformat.com/sketches/220

Good luck with your project!
Screen Shot 2017-02-10 at 3.07.48 PM.png
Screen Shot 2017-02-10 at 3.07.48 PM.png (182.94 KiB) Viewed 16148 times
Blob.magic
(2.03 KiB) Downloaded 994 times
Egtoo
Posts: 15
Joined: Fri Apr 17, 2015 3:17 pm

Re: Is there a way to get the speed of sparkles like trapnat

Post by Egtoo »

artnik wrote:Here's a practical example of using the ISF to achieve a similar blob effect to what I think you're after.

Once again, it's been annotated to explain how it works. It also requires an additional ISF, MIRROR: https://www.interactiveshaderformat.com/sketches/220

Good luck with your project!
Screen Shot 2017-02-10 at 3.07.48 PM.png
Blob.magic
Thankyou so much for this!
Post Reply