Privacy Warning

This website you are visiting is mirrored via CloudFlare. I implore you to try to access the original website at baldy.ga/. Keep in mind that it can still be blocked by your country/content blocker, so you may need to continue using this mirror.

This website exists to provide a backup in case my ip address or domains are censored, but it is not the original and does not have the same privacy guarantees. The original domains don't inject any trackers like CloudFlare does. CloudFlare acts as a reverse proxy, which means it can see and log your IP address, browser information, and other metadata about your visit.

If you value your privacy, please consider visiting the original website instead which doesn't track any of your data.

Click anywhere to dismiss this warning.

LukaszBaldyga

Drawing Program

This is one of my third year university projects. The program can let you draw anything that you might like. You can download a demo here. Simply run the executable. It should run under Wine, but I experienced problems with the file locator. The source available repository is here.

Custom language

It is a simple drawing program that uses a programming language designed for this project. I was instructed to create a program to meet a specific set of guidelines. I achieved 100% of the available marks in this project, meeting all of the criteria necessary.

Some of the requirements were:

  • Drawing of basic shapes and lines, like circles and squares.
  • The ability to store and retrieve variables.
  • Flow control, more specifically, if statements.
  • Methods and functions. Specifically functions with or without parameters (recursions was not required).
  • Loading and unloading programs.
  • Error detection.

Gallery

1 / 4

Documentation

It was required that the software engineering project is fully documented. Every class has documentation regarding its use and place in the program. The documentation was generated using Doxygen. You can read the documentation here.

Videos

I go over these and my code in two videos. I don't recommend watching them because they are really long and might be really boring. It was requirement for the project. They're here:

Example with code

1 / 2

Code:

var x = 0
var y = 0
var offset = 128

while x < offset 
  y = 0
  while y < offset 
    move x, y
    pen x, y, x + y
    dot
    y = y + 1
  end
  y = 0
  while y < offset 
    move x + offset, y
    pen y + x, y, x
    dot
    y = y + 1
  end
  x = x + 1
end

x = 0
while x < offset 
  y = 0
  while y < offset 
    move x, y + offset, 
    pen y + x, offset - y, offset - x
    dot
    y = y + 1
  end
  y = 0
  while y < offset 
    move x + offset, y + offset
    pen x + y, offset - x, offset - y
    dot
    y = y + 1
  end
  x = x + 1
end