Skip to content

Instantly share code, notes, and snippets.

View the-lost-explorer's full-sized avatar
:octocat:
Exploring new possibilities.

Amey Parundekar the-lost-explorer

:octocat:
Exploring new possibilities.
View GitHub Profile
@the-lost-explorer
the-lost-explorer / BezierCurve.py
Created September 26, 2019 17:02
A shabby implementation of Bezier Curves using tkinter.
import math
import tkinter as tk
from tkinter import ttk
from tkinter import Scale
from tkinter import HORIZONTAL
import numpy as np
LARGE_FONT = ("Verdana", 12)
class BezierCurveApp(tk.Tk):
@the-lost-explorer
the-lost-explorer / TwoDTransformations.py
Created August 17, 2019 15:10
Computer Graphics: Basic 2D transformations in tkinter using matrices (Translation, Rotation and Scaling)
import tkinter as tk
from tkinter import ttk
import numpy as np
LARGE_FONT = ("Verdana", 12)
class TwoDTransformationApp(tk.Tk):
def __init__(self, height = 800, width = 800, *args, **kwargs):
tk.Tk.__init__(self, *args, **kwargs)