If you guys are interested in the maths behind this, this video seems to cover lots of equations that will be useful too you. https://www.youtube.com/watch?v=DPfxjQ6sqrc
This is amazing. I have no words- Very smooth animations, I love it.
Are these ui based animations?
Nope, every animation is done in the workspace!
LOL
I love your creations, their animations are smooth, light and precise. The color combination is perfect.
You have a lot of talent, brother developer.
Thank you, I really appreciate the support!
WoW, you did a good job. I hope this Topic stays a thing
This was pretty gnarly to watch. I felt like I was watching an ASMR film. Keep up the excellent work!
I’m interested in the first two and the bouncing balls one, any chance you could share the math used on those three?
#1 I dont have a name lol, magic sphere?
Anyways it was actually implemented from the map function used in the P5 Library in Javascript.
#2 Fibonacci Sphere:
function fibonacci_sphere(samples, Formation)
local points = {}
local phi = math.pi * (3. - math.sqrt(5.)) -- golden angle in radians
for i = 1, samples do
local lat = (asin(-1.0 + 2.0 * i / (samples+1))) * Formation;
local lon = (ga * i) * Formation;
local x = cos(lon)*cos(lat);
local y = sin(lon)*cos(lat);
local z = sin(lat);
table.insert(points, Vector3.new(x, z, y));
end
return points;
end
local points = fibonacci_sphere(500, 1)
And create Parts on number in the table of points
3# Glow Droplets:
I Just used gravity, touched, and raycasting(because .touched can be funny)
GlowDroplets.rbxm (32.4 KB)
I’ve really only touched essential core math concepts and never used things like Fibonacchi curve and etc.
Would be interested to know what other mathematical concepts can create oddly satisfying stuff too.
Thank you for sharing the knowledge.
Look up creative coding you can learn concepts from there as well as the coding train!
Oh I didn’t know this was an actualized genre? Is creative coding just something made for making oddly satisfying stuff or for fun? Does it have any practical use?
Also what is ga
supposed to be within the script? I can assume the rest are just variables for their mathematical functions for shortening purposes.
can you send the line in which you are referring to?
As far as practical uses go, you could implement them in to loading screens and or icons
local lon = (ga * i) * Formation;
local cos = math.cos
local sin = math.sin
local asin = math.asin
local sqrt = math.sqrt
local M_PI = math.pi
local gr=(sqrt(5.0) + 1.0) / 2.0
local ga=(2.0 - gr) * (2.0*M_PI);
What does gr
, ga
, phi
, lat
, lon
mean?
gr
I assume might be golden ratio?
Some pretty cool computational geometry you got there! What distribution are you using for the points-on-sphere gif?
gr = golden ratio
ga = golden angle
phi = golden angle in radians in the script
lat = latitude
lon = longitude