From t-o-f

P5js: Oscillation

Contents (hide)

  1. 1. Algorithme
  2. 2. Exemples

1.  Algorithme

let oscillation = sin(frameCount * vitesseOscillation ) * amplitudeOscillation + centreOscillation;

p132 Make: Getting Started with p5.js

2.  Exemples

Récupéré sur http://wiki.t-o-f.info/P5js/Oscillation
Page mise à jour le 22 March 2018 à 17h57