Question: Your task is to make a QR code image simulation (sample shown below) by using Java FX shapes. Do not make a code generator! Try
Your task is to make a QR code image simulation (sample shown below) by using Java FX shapes. Do not make a code generator!
Try to make a 512 x 512 image first so that you can generate a QR code. You may need to generate a random numbers among three large squares surrounded by black lines. Please use a black and white values only (i.e., 0: black and 1: white). In a matrix, if you start with all white values (i.e., every value is 1), then your task is to convert some of the values to 0s to make it look like a QR code. From time to time, you need to make sure the QR code you are building is in a right direction by imshow() command. Think about using rand() associated with round() to make the values as 0 or 1. repmat() command can also be used.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
