Last active
December 5, 2021 07:11
-
-
Save n1ckfg/eac583ba6a94ce58209b1061ef0cd01c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import peasy.*; | |
| PeasyCam cam; | |
| void setup() { | |
| size(800, 600, P3D); | |
| cam = new PeasyCam(this, 400); | |
| // https://github.com/jdf/peasycam/blob/master/src/peasy/PeasyCam.java | |
| cam.setWheelScale(0.1); | |
| } | |
| void draw() { | |
| background(0); | |
| lights(); | |
| sphere(100); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment