Skip to content

A Javascript programms that displays any vector field.

License

Notifications You must be signed in to change notification settings

xam4lor/JSVectorialField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSVectorialField

Introduction

A Javascript programms that displays any vector field, or parametric functions.
To specify the formula, just open "sketch.js" and replace the parameters of the c.plottedFunction Vector by the values you want (x and y are the positions of the objects to be plotted, and dt represents the elapsed time since the beginning of the simulation).

Example of a function

An example of a function and some particles

About

A Javascript programms that displays any vector field.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published