nature of code

Nature of Code Assignment 6: Neural Networks!

Nature of Code Assignment 6: Neural Networks!

I started this assignment by doing the first two code walkthroughs from coding train for ml5. I didn’t have any brainchildren about how to expand on the exercise with the bird images, so i moved on to the image extractor exercise. I got the sketch up and running without much difficulty so I tried to Continue reading Nature of Code Assignment 6: Neural Networks!

Nature of Code Assignment 5: Genetic Algorithm

Nature of Code Assignment 5: Genetic Algorithm

This week, Billy and I decided to team up for the week’s assignment and go the route of adjusting numbers in the smart rockets example to investigate how different variables affected the rockets’ effectiveness over time. We decided to pretend our rockets were ‘real’ and needed fuel…. and tried to make a new version of Continue reading Nature of Code Assignment 5: Genetic Algorithm

Nature of Code: Simulation Project

Nature of Code: Simulation Project

Don’t ask me why, but for this week’s assignment, I decided to simulate moths flying around a light (and occasionally dying) I’ve always been a little fascinated by the fact that when you successfully swat a moth it seems to just disintegrate. And even though that same effect doesn’t ACTUALLY happen when they hit a hot light, Continue reading Nature of Code: Simulation Project

Nature of Code Week 4: Particle Systems

Nature of Code Week 4: Particle Systems

This week, I got inspired by the coding train fireworks video, and instead of making a new design for my sketch, I tried refactoring and building on the fireworks coding challenge. I split my particle classes into three classes: Particle (the parent class) and Blast and Heart (the two child classes). I started with just Continue reading Nature of Code Week 4: Particle Systems

Nature of Code Week 2: Vectors and Forces

Nature of Code Week 2: Vectors and Forces

I fell a little behind last week, so I hadn’t posted my sketch covering forces and vectors. I decided to play with adding gravity and wind to a bouncing ball… with a face. I started by making a standard bouncing ball example, but inspired by the way we mapped things to sin waves in the Continue reading Nature of Code Week 2: Vectors and Forces

Nature of Code Week 1: Rainbow Walker

Nature of Code Week 1: Rainbow Walker

code for this week’s assignment can be found here: https://github.com/lillianritchie/nature-of-code/tree/gh-pages/randomWalker This week I decided to try updating my workflow. I watched all of the workflow videos, then added the github for poet videos, because github is still a bit of a mystery to me! Before this semester I had worked a little bit in atom, Continue reading Nature of Code Week 1: Rainbow Walker