RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Mesh Gradient Avatars in Rails

Dynamic avatars with Ruby are a common feature as we usually want to provide sensible default values without resorting to the same default avatar for every single user.

The most common solution to this issue is to generate them using the user’s initials, default images or background colors.

These solutions are fine but we can do better: in this article we will learn how to create deterministic mesh gradient avatars using Ruby and the ChunkyPNG gem to improve our avatar game

Read the full article on: https://avohq.io/blog/mesh-gradient-avatars-in-rails

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in