Liquid Galaxy project

[BASH] - Create bash script for displaying images on a Liquid Galaxy screen (Task 1)

"Create a bash script that once executed, displays a selected input image on a particular Liquid Galaxy screen, on specific x and y coordinates. So in total, there are 4 different input variables to consider: image path, screen number, x coordinate, y coordinate. You can find an example image of what the script is supposed to do on the following link: https://ibb.co/D913xvg, considering that the script was executed 3 different times with 3 different images, screens and coordinates. Requirements:

  • Make it so that the image is displayed in it's full resolution and size, with no distortions;
  • If the user attempts to display the image on a screen number that does not exist for the current installation (for a Galaxy of 5, invalid screen numbers would be 6, 7..), make it so the script returns an error message and prompts the user to enter a valid screen number;
  • Must include some sort of documentation with instructions on how to execute it correctly (can be a simple text file)."

Task delivery
"Record a short video of your script working. Upload the video to your Google Drive and send us the following:

  • Video link;
  • Script source code;
  • Documentation. Via task dashboard for mentor review and approval. Can be sent as separate files or a zipped file containing all three."

Task tags

  • bash script
  • code

Students who completed this task

Pascal, ItsSzczepan

Task type

  • code Code
close

2019