Giter Club home page Giter Club logo

topicsinvishw2's Introduction

HW2: Wind Visualization

Second homework for Comp494 at Macalester College, taught by Professor Bret Jackson
Authors: Micah Tanning & Waabanang Hermes

In this visualization, we drew animated particles to describe wind patterns across the United States.

Parameters

pcount - the total number of simulated particles
maxlife - longest possible lifetime of a particle, in milliseconds
minlife - shortest possible lifetime of a particle, in milliseconds
stepsize - step size for the RK4 integration

By changing the step size, you can adjust the overall speed of the particles, as well as the distance each travels within its lifespan. We set this value to 0.1.

At higher values, such as 0.2 and 0.3, we noticed the particles tend to congregate in certain areas where the surrounding winds push particles inward and not outward (like a black hole), and along other well defined paths. Because the increased step size causes the particles to travel farther before dying, each one is more likely to get funneled into these areas, then stay there until it resets. This causes the rest of the map to look sparse.

At lower values, the particles move slower, and it becomes more and more difficult to compare relative velocities. We found a step size of 0.1 to be a good middle ground.

Wizardly Work

In addition to the above features, we made each particle fade in and out at the beginning and end of its lifespan. This helped make the animation appear smoother.

topicsinvishw2's People

Contributors

mtanning avatar ananglhermes avatar waabanang avatar

Stargazers

Isabelle COWAN-BERGMAN avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.