Posted: Wed Jul 31, 2019 6:01 pm
This module creates a drawable surface with some HSL bouncing metaballs.
Maybe someone will find this useful as a starting point for something else. Code can be found here:
This was inspired by a coding challenge video i came across recently: https://www.youtube.com/watch?v=ccYLb7cLB1I
Code: Select all
function love.load() require("metaballs") metaballs.create(8) -- spawn 8 metaballs end function love.draw() love.graphics.draw(metaballs.surface(),0,0) end function love.update(dt) metaballs.update(dt) end