You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My first html and css page: Dog Page
This page was fun to make and I was able to use sound to add to the friendly vibe that I intended for the site to give off.
My Lightning page
My lightning page will be fixed later on as currently this version is a mess between es5 and es6 js but I will be making it run smoothly and adding music to it later.
My College Presentation
Here is a presentation on Carnegie Mellon University to give a short run down of what they have to offer, including a couple videos to give a better understanding.
My Dice page
My dice page was very fun to make, especially the part where the color of the description panel on the right is the exact opposite of what was on the die.
My Chemotaxis page
My chemotaxis page uses a neural network and someone might comment that I could make it go directly to the dot, but that isn't the point, I wanted it to learn and have to figure out the closest path, without bumping into the walls too many times.
My Starfield page
My starfield page has vectorized versions of star wars ships and shows their cockpits as yuou fly though the galaxy, and jump to hyper speed! It took a while to get the images working, but I preloaded them and fixed all the es6 issues associated with it.
My String Parser
My string parser takes in two texts to work with, A Christmas Carol, and Frankenstein. The method that gets how many syllables are in the text was the hardest method to write and I had to figure out what exactly makes a syllable a syllable. Once the code ran without errors I worked on the interface. I went with a layout of the book covers and having the mouse on the right half will open the book to shiw the inside along with the Flesch reading score and grade level.
My Final Project
My Final Project consisted of recreating the game Pacman in Javascript, as well as making a Neural Netowrk train to beat the game. WHile the training portion is still in progress, I later plan to have it save to files in order for them to be loaded from so that watching the training occur does not need to be part of the steps to watch it. The pacman game itself was most difficult in implementing the A* Path finding algorithm as it required the use of a LinkedList, and as that data structure doesn't exist in javascript I had to make one in order to get the path finding to work.
Here is a gist I made to help others with the basics of es6 syntax
A line in p5.js that converts a p5color to its opposite rgb values, used in dice
Pride
I am very proud of all coding that I do as I work hard on every project, the harder I had to work the more I enjoyed doing it and the more proud I am. I am currently most proud of Chemotaxis as I was able to make a working ai in es6 js.
Hurdles
Getting the formatting issue to wrok between es5 syntax and es6 syntax was extremely hard to do but once I got it working I felt great about it and could teach others the major differences now.
Distinct points in the development process
I had to teach myself something that there was barely any online support or understanding of, which is getting p5js to work in es6 syntax and have classes. Another distinct point was understanding the differences in what a js object is verses a java object and how they intereact.
Interests
I am very interested in knowing as much about coding as possible. I want to learn all about the different data structures and algorithms, which ones are the most efficient and why an inefficient algorithm would ever be used. I am very intrigued by artificial intelligence and enjoy creating my own, especially ones that implement machine learning. I do not like to limit myself to one language, as of now the languages I can code in, from most to least knowledgable is es6 js, java, python, lua, C++
A LinkedList class I made for my Pacman game, along with the LinkedListElement class needed for the former
Besides writing the class for the usecase of the game I wrote it to demonstrate my knowledge of the data structure and how to make it in a language that doesn't have one, javascipt.
classLinkedList{constructor(head=null){this.head=head;this.size=this.head!=null ? 1 : 0;}getEAt(index){//returns the LinkedListElement at indexletcount=0;letelement=this.head;while(element){if(count===index){returnelement;}count++;element=element.next;}returnnull;}getAt(index){//return the node at indexreturnthis.getEAt(index)==null ? null : this.getEAt(index).data;}addAt(element,index){if(!this.head){//if the list is emptythis.head=newLinkedListElement(element);this.size++;return;}if(index===0){this.head=newLinkedListElement(element,this.head);this.size++;return;}constprev=this.getEAt(index-1);letnewElement=newLinkedListElement(element);newElement.next=prev.next;prev.next=newElement;this.size++;return;}addElement(element){//adds on the element to the end of the LinkedListletnewElement=newLinkedListElement(element);if(!this.head){this.head=newElement;this.size++;return;}lettail=this.head;while(tail.next!==null){tail=tail.next;}tail.next=newElement;this.size++;return;}pop(){//pops an element from the stack represented by the list, removes and returns the first elementreturnthis.removeAt(0);}isEmpty(){//returns true if there are no elements, it returns if the size is equal to 0returnthis.head==null;}clone(){//returns a copy of the LinkedListlettemp=newLinkedList();temp.head=this.head;temp.size=this.size;returntemp;}addFirst(element){letnewElement=newLinkedListElement(element);newElement.next=this.head;this.head=newElement;this.size++;}removeAt(index){//removes the node at index and returns itif(!this.head){//when this.head equals nullreturn;}if(index===0){//if the head then make next the headlettemp=this.head;temp.next=null;this.head=this.head.next;this.size--;returntemp.data;}constprev=this.getEAt(index-1);if(!prev||!prev.next){return;}prev.next=prev.next.next;this.size--;returnthis.head.data;}clearList(){//resets all values of the LinkedListthis.head=null;this.size=0;}getLast(){//returns the last element in the LinkedListreturnthis.size>0 ? this.getAt(this.size-1) : null;}}classLinkedListElement{constructor(data,next=null){this.data=data;this.next=next;}}