GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — example-processing/motion_field at master · perfume-dev/example-processing

Expand file tree

/

motion_field

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

motion_field

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
code
code
 
 
data
data
 
 
MotionData.pde
MotionData.pde
 
 
README.md
README.md
 
 
SketchRun.pde
SketchRun.pde
 
 
motion_field.pde
motion_field.pde
 
 

README.md

Motion field

Actual Processing render at 8 seconds

Open motion_field.pde in Processing 4.5.6 and press Run. Keep the full repository together so the sketch can load the shared files from ../p5f_sample/data/. No additional Processing library is required. For export, copy those three BVH files into this folder's data/ directory first.

Six joints from each of the three recordings become an array of eighteen vec3 uniforms: X, Y, and dancer number. One fullscreen rectangle runs data/field.frag; its pixels sum joint influence, draw logarithmic isocontours, and mix a small interference term. Screen derivatives keep contour edges smooth at different resolutions. The third uniform component chooses the restrained cyan/coral/ivory palette.

  • motion_field.pde: BVH-to-uniform conversion, shader pass, controls.
  • data/field.frag: field, contour spacing, antialiasing, and palette.
  • MotionData.pde: legacy BVH adapter; recenters root X/Z for the side-by-side layout.
  • SketchRun.pde: shader validation, deterministic capture, and smoke test.

Space pauses; + / - change contour density; J reveals the driving joints; R resets; H toggles labels; S saves a screenshot. Window resizing preserves the shape proportions. Change the six entries in jointNames to try different body landmarks, or change the influence and wave expressions to explore another field.

See the root README for deterministic CLI captures. Only the new sketch/shader code is covered by LICENSE-new-examples; the original BVH data and parser JAR retain their existing copyright status.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.