diff --git a/other/Chaser.gif b/other/Chaser.gif new file mode 100644 index 0000000..6f83415 Binary files /dev/null and b/other/Chaser.gif differ diff --git a/other/Clusters.gif b/other/Clusters.gif new file mode 100644 index 0000000..5948845 Binary files /dev/null and b/other/Clusters.gif differ diff --git a/other/DVD Logo/2019-12-10_02-09-00.gif b/other/DVD Logo/2019-12-10_02-09-00.gif new file mode 100644 index 0000000..6f83415 Binary files /dev/null and b/other/DVD Logo/2019-12-10_02-09-00.gif differ diff --git a/other/DVD Logo/dvd_logo/dvd_logo.pyde b/other/DVD Logo/dvd_logo/dvd_logo.pyde index 08935dc..58fd737 100644 --- a/other/DVD Logo/dvd_logo/dvd_logo.pyde +++ b/other/DVD Logo/dvd_logo/dvd_logo.pyde @@ -2,7 +2,7 @@ from random import choice, randint import sys, os def setup(): - readSettings() + # readSettings() frameRate(45) size(1280, 720) fill(0, 0, 0) @@ -14,25 +14,25 @@ def setup(): # img = loadImage("DVD_video_logo.png") # Create and/or overwrite the settings.json file in the directory -def createSettings(): - settingsJSON = { - "height" : 1280, - "width" : 720, - "colorRGB" : [255, 255, 255] - } - with open(os.path.join(sys.path[2], 'settings.json'), 'w+') as settingsfile: - json.dump(settingsfile, settingsJSON) +# def createSettings(): +# settingsJSON = { +# "height" : 1280, +# "width" : 720, +# "colorRGB" : [255, 255, 255] +# } +# with open(os.path.join(sys.path[2], 'settings.json'), 'w+') as settingsfile: +# json.dump(settingsfile, settingsJSON) # Read the settings file, importing and setting the variables in the script to correlate -def readSettings(): - try: - with open(os.path.join(sys.path[2], 'settings.json'), 'r+') as settingsfile: - data = json.load(settingsfile) - setup(data["height"], data["width"]) - except IOError: - print("No settings file found. Creating one now.") - createSettings() - os.exec() +# def readSettings(): +# try: +# with open(os.path.join(sys.path[2], 'settings.json'), 'r+') as settingsfile: +# data = json.load(settingsfile) +# setup(data["height"], data["width"]) +# except IOError: +# print("No settings file found. Creating one now.") +# createSettings() +# os.exec() # print("Settings file created. Exiting program") # sys.exit() Xspeed, Yspeed = 5,5 diff --git a/other/DVDLogo.gif b/other/DVDLogo.gif new file mode 100644 index 0000000..fc348ef Binary files /dev/null and b/other/DVDLogo.gif differ diff --git a/other/DynamicLines.gif b/other/DynamicLines.gif new file mode 100644 index 0000000..10dd7d8 Binary files /dev/null and b/other/DynamicLines.gif differ diff --git a/other/FlipFlopChain.gif b/other/FlipFlopChain.gif new file mode 100644 index 0000000..9510e16 Binary files /dev/null and b/other/FlipFlopChain.gif differ diff --git a/other/GraphTheory.gif b/other/GraphTheory.gif new file mode 100644 index 0000000..6fe08ac Binary files /dev/null and b/other/GraphTheory.gif differ diff --git a/other/OldLines.gif b/other/OldLines.gif new file mode 100644 index 0000000..4436b78 Binary files /dev/null and b/other/OldLines.gif differ diff --git a/other/README.md b/other/README.md index 5695dd0..767e925 100644 --- a/other/README.md +++ b/other/README.md @@ -8,16 +8,32 @@ Other sketches without any specific purpose. If enough fit into a specific categ - **Chaser** - A test demonstrating easing equations. -- **Clusters** - A test of a simple clusterization algorithm. +![Chaser](./Chaser.gif) -- **DVD Logo** - A fun little sketch displaying the iconic bouncing DVD Logo. May need a little more work to better visualize true-to-heart. +- **Clusters** - A test of a simple clusterizing algorithm. + +![Clusters](./Clusters.gif) + +- **DVD Logo** - A fun little sketch displaying the iconic bouncing DVD Logo. May need a little more work to better visualize true-to-heart. Centers are marked, but I don't really know how the circles radiuses are decided on. Also, the bounding boxes are terribly off. I had plans to make this much more customizable and functional, but I dropped the project since it was boring and image based. Inspired by watching a relevant The Office scene. + +![DVD Logo](./DVDLogo.gif) - **DynamicLines** - A very simple line drawing application. +![Dynamic Lines](./DynamicLines.gif) + - **FlipFlopChain** - A simple project displaying how one would count in binary. -- **Graph-Theory** - A simple project closely mimicing the particle.js library. +![FlipFlopChain](./FlipFlopChain.gif) + +- **Graph-Theory** - A simple project closely mimicking the particle.js library. + +![Graph Theory](./GraphTheory.gif) - **Old_Lines** - A short script connecting your current mouse position to that of yours moments ago. -- **Rotating_Calculator** - Displays how Processing.py calculates the final position of an object given a rotational value. Mostly a test for me, trying to understand why some of my projects would rotate in strange and confusing ways. \ No newline at end of file +![Old Lines](./OldLines.gif) + +- **Rotation_Calculator** - Displays how Processing.py calculates the final position of an object given a rotational value. Mostly a test for me, trying to understand why some of my projects would rotate in strange and confusing ways. + +![Rotation Calculator](./RotationCalculator.gif) \ No newline at end of file diff --git a/other/RotationCalculator.gif b/other/RotationCalculator.gif new file mode 100644 index 0000000..32600e8 Binary files /dev/null and b/other/RotationCalculator.gif differ