Skip to content

leonardonapoless/Blobber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I've been working on this blob shader in Metal to get a head start on my Computer Graphics studies for my Computer Science degree. Even though we're going to use OpenGL at university, I wanted to learn Metal as well because it's more modern and feature-rich. plus, since it's Apple's graphics API, I might find a real use for it in the future.

The shader is quite simple; it uses the metaballs technique (multiple bubbles merging smoothly) to create this organic liquid effect. I also made the app look nice with Light and Dark Mode support, as well as mouse and keyboard interactions (you can push the blob with the cursor or press the spacebar to change its shape).

The code is well-commented, and I tried to make it as readable as possible, but I'm a beginner in computer graphics, so if there's anything that can be improved, please let me know.

btw, I used these resources to study:


Eu estive fazendo esse shader de blob em Metal para adiantar os estudos de Computação Gráfica na minha graduação em Ciência da Computação, apesar de que na faculdade vamos usar OpenGL, mas eu queria aprender Metal também porque é mais moderno e tem mais recursos, e é a API gráfica da Apple, então eu poderia achar uma utilidade real para isso no futuro

O shader é bem simples, ele usa a técnica de metaballs (várias bolhas se juntando suavemente) pra criar esse efeito líquido e orgânico. Eu também fiz o app ficar bonitinho com suporte a light e dark mode, e interações com o mouse e teclado (dá pra empurrar o blob com o cursor ou apertar espaço pra ele mudar de forma)

O código é bem comentado e eu tentei deixar ele o mais legível possível, mas eu sou iniciante em computação gráfica, então se tiver alguma coisa que possa ser melhorada, por favor, me diga

Alias, eu usei esses conteudos aqui pra estudar

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Contributors