Schroedingers-Hat/jsphys — Issue #119: Run linesPadder automatically on objects not created via shape function
Author: capnrefsmmat
Created: 2011-12-13 06:11:08+00:00
State: open

We should run `linesPadder` on user-supplied shapes, so aberration is more realistic.

@Schroedingers-Hat: What should I use as a default resolution? It will vary on the objects; in a demo which uses c = 3e8 and zooms out far, objects will be large, and the resolution should be correspondingly large or we'll have a bazillion points to draw. Is there a heuristic that makes sense?

(Maybe something like "compute the width of the current field of view, then divide by 100" would work.)