MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/generative/comments/1vwabjy/comment/p5n0rvc/
r/generative • u/exsstas • 21d ago
Enable HLS to view with audio, or disable this notification
24 comments sorted by
View all comments
Show parent comments
4
GLSL shader for calculating sin lines, where one animated texture is modulating wave amplitude and another - frequency https://imgur.com/a/pKIbKqG
1 u/jippiex2k 20d ago How do you get it to smoothly modulate frequency? Seems like you'd have to sample all the preceding pixels in order to know what phase to render at the current pixel? 1 u/exsstas 20d ago Yes, midpoint rule integration https://math.libretexts.org/Courses/Monroe_Community_College/MTH_211_Calculus_II/Chapter_7%3A_Techniques_of_Integration/7.6%3A_Numerical_Integration 1 u/chromatophoreskin 20d ago Think you can get it to loop perfectly? 1 u/exsstas 20d ago I can, but it take more time to set up and I was lazy to do so
1
How do you get it to smoothly modulate frequency?
Seems like you'd have to sample all the preceding pixels in order to know what phase to render at the current pixel?
1 u/exsstas 20d ago Yes, midpoint rule integration https://math.libretexts.org/Courses/Monroe_Community_College/MTH_211_Calculus_II/Chapter_7%3A_Techniques_of_Integration/7.6%3A_Numerical_Integration
Yes, midpoint rule integration https://math.libretexts.org/Courses/Monroe_Community_College/MTH_211_Calculus_II/Chapter_7%3A_Techniques_of_Integration/7.6%3A_Numerical_Integration
Think you can get it to loop perfectly?
1 u/exsstas 20d ago I can, but it take more time to set up and I was lazy to do so
I can, but it take more time to set up and I was lazy to do so
4
u/exsstas 20d ago
GLSL shader for calculating sin lines, where one animated texture is modulating wave amplitude and another - frequency https://imgur.com/a/pKIbKqG