Projects

Slack Water Reminder

Ruby

A project sugested in DevProjects by Codementor that consists of a Slack Bot that sends reminders for drinking water periodically.

This project uses the Slack API and it was written in Ruby. Sidekiq was used to schedule jobs for sending the reminder messages. Finally, Docker Compose is used to setup all the necessary containers to run locally.

The code can be found here.

Slack Modal that opens up when /slack_water is called: modal

An example of reminder that is sent by the Bot: reminder


Photomosaics

Ruby

The fourth project of Robert Heaton’s series Programming Projects For Advanced Beginners.

Writen in Ruby, this project turns a picture into a photomosaics made of other smaller images. The Minimagick gem was used for image processing.

The Git repository for this project can be found here.

Original Image Photomosaics
photomosaics_in photomosaics_out

Game of Life

Javascript

Another project inspired by Robert Heaton’s series of Programming Projects For Advanced Beginners.

The code is written in JavaScript and uses Node Canvas for image generation and GraphicsMagick for GIF generation. The Git repository for this project can be found here.

Conway’s Game of Life follows four simple rules:

  1. Any live cell with 0 or 1 live neighbors becomes dead, because of underpopulation

  2. Any live cell with 2 or 3 live neighbors stays alive, because its neighborhood is just right

  3. Any live cell with more than 3 live neighbors becomes dead, because of overpopulation

  4. Any dead cell with exactly 3 live neighbors becomes alive, by reproduction

An example of the Game of Life:

game_of_life


ASCII Art

Python

A simple project that converts images into ASCII art, inspired by Robert Heaton’s series of Programming Projects For Advanced Beginners.

This project was written in Python and uses Pillow as the image processing library. Here is the code.

Original Image ASCII Image
original_image ascii_image