This website contains projects of mine that aren't games, simulations or websites!
This website contains projects of mine that aren't games, simulations or websites!
A set of newly defined and redefined LaTeX commands in order to make typing complex equations easier! It has been a part of all my LaTeX code written since November 2020! It includes:
A easily readable, dynamically typed, stack-based programming language that highly resembles English! I
have implemented arrays, loops and conditionals, so this programming language is technically Turing
complete*
# A verbose program intended to showcase it's current features
say "Hello, World!" # Prints "Hello, World!"
# Prints firstName and lastName together
firstName is "Jane"
lastName is "Doe"
print "Full name: " + (firstName and lastName)
# Finds hypotenuse of a triangle
a = 3
b = 4
print "Hypotenuse = " + sqrt of (a square + b square)
# Proves a trignometric identity
angle = 20
print "sin^2 theta + cos^2 theta = " + (sin(angle)^2 + cos(angle)^2)
# Calculates and prints speed of light from predefined constants
print "Speed of light: " + 1 / sqrt($mu_0 * $epsilon_0)
# Calculates and prints mean
numbers are [1 2 3 4 5]
print "Mean: " + (mean of numbers)
# Prints if given number is prime or composite
num = 18
i = 1
num_factors = 0
while i < num {
if num % i == 0 {
increment num_factors
}
increment i
}
if num_factors > 1 {
print "Composite"
} else {
print "Prime"
}
Since I not only play video games but also develop them, I sometimes pay attention to various game mechanics that are operating under the hood. I am trying to compile all of them into a single text. This is a work in progress. You can download the latest version of the PDF from here.
I have always been fascinated with the aesthetics and symmetry of rangoli art. While I was bored waiting for my PhD to start, I wrote a bunch of scripts that allows you to create and save lattice-based rangoli art. It also allows you to leverage rotational symmetries (C3, C4, C6) in the system. You can find the scripts and the instructions in the repository here. Below are some designs I made using this software.