To run the java code, run:
javac starter.java && java starter
To run the html code, you need to start a server. One common way to do this with python is:
py -m http.server
See this MDN page for more details.
In class we will use VS Code and the LiveServer extension.
In order to use the python code provided, you must install the Pillow module:
py -m pip install --upgrade pip && py -m pip install --upgrade Pillow
Then run the code with python
py starter.py
In order to use the C# code provided, you must have at least .NET 6 SDK installed. You also need to add package System.Drawing.Common:
dotnet add package System.Drawing.Common
In order to run the program, use the following commands:
dotnet build
dotnet run
Note that some of this code may not work on all operating systems.