• home
  • About
  • VFX
  • Digital Art
  • Projects
  • Resume
  • Contact me
Menu

Ethan L. Lupinski

  • home
  • About
  • VFX
  • Digital Art
  • Projects
  • Resume
  • Contact me
koch2.jpg

Koch Fractal Project

March 13, 2018

koch.png
koch2.png
koch3.png
koch.png koch2.png koch3.png

This project was one I tackled in my free time. I wanted to try something different that was outside of the realm of game development, so I chose to experiment with koch snowflake algorithm. I used Unity to build the project in and wrote C# scripts to get the work done.

I created an empty game object and attached a line renderer to it. In the script, I added options to change the shape of the “initiator.” The user would be able to start from a triangle, square, hexagon, heptagon or an octagon. The “initiator” would be the shape the line renderer would take on at run-time. The user also has the option to modify the initator size as well.

The “generate multiplier” and “lerp amount” variables in the inspector offer the user control over how to modify each generation of lines. I then chose to initiate new generations with the “O” and “I” keys. The “O” key would have the next generation would stretch outward. The “I” key would have the next generation stretch inward. I later added a bezier curve option and a “bezier vertex count” variable in order to have control over how much I could smooth out a line. However, I found that on occasion, some of the lines would not line up with other generations. This could be seen in one of the snowflake screencaps above.

Some minor details I added to the project was the ability to choose what axis the line renderer would generate along. I also added a basic rotation script to the game object to have some kind of motion while the generations were being initialized.

In the end, I did learn a lot from this project as I hoped I would. I did learn that my approach was not exactly resource friendly. At the time, my computer had 8GB of memory and I found that the project would quickly eat up my memory as I created more generations. It took me some time to figure out the issue, although I didn’t really know how to resolve it efficiently enough. I hope to someday revisit this project and find a better way to rebuild it and use it for something practical in a future project.

 
← StoryBook AR Forest Explorer →

Latest Posts

Featured
Time Tails
August 21, 2021
Time Tails
August 21, 2021

Time Tails is a series of adventure games that teach players coding and game design. Change the Game! Change History!

Read more →
August 21, 2021
Android Mobile Portflio
November 3, 2020
Android Mobile Portflio
November 3, 2020

A mobile portfolio I am working on to showcase my visual effects work while on the go.

Read more →
November 3, 2020
Percussive Repairs
February 10, 2020
Percussive Repairs
February 10, 2020

Hit things until they're fixed! Because that's how being a mechanic works...right? 2D arcade-style multiplayer game about repairing (or breaking) robots by matching the proper combination of symbols/colors. Each player (or single player) has a set of 4 tools to choose from and must get the correct combination within 20 seconds.

Read more →
February 10, 2020
Beyond Imagination
May 31, 2019
Beyond Imagination
May 31, 2019

Explore dungeons with up to four players as you fight hordes of enemies and defeat the darkness corrupting the Sleepy Gardens, a world that exists within the children’s imagination.

Read more →
May 31, 2019
Imagination Heights
January 31, 2019
Imagination Heights
January 31, 2019

A turn-based RPG about a young group of kids having an adventure in their city, altering their landscapes with their imagination. Draws inspiration from EarthBound and Octopath Traveler for the presentation.

Read more →
January 31, 2019
Vulkan Project
December 29, 2018
Vulkan Project
December 29, 2018

A project that was developed during my 3D Game Development course at university.

Read more →
December 29, 2018
StoryBook AR
December 21, 2018
StoryBook AR
December 21, 2018

StoryBook AR was an augmented reality project made in collaboration with my professor, Jessica Ross, under NJIT’s I-Corps Grant. It was built as an environment to build simple AR applications to help make books more interactive. This was done alongside Ross’s illustrated storybook, Gulnare of Persia.

Read more →
December 21, 2018
Koch Fractal Project
March 13, 2018
Koch Fractal Project
March 13, 2018

The Koch Fractal project was a mini project I did worked on during my free time. I wanted to explore something a little bit different that was outside of games just for the sake of experimenting.

Read more →
March 13, 2018
Forest Explorer
January 31, 2018
Forest Explorer
January 31, 2018

Play as Priscilla as she embarks on an adventure through Ori Forest to find her family. Using her spores, grow mushrooms to climb and transmit control of yourself to the bugs you will encounter to wander deeper into the forest.

Read more →
January 31, 2018

Powered by Squarespace