8000 a comment on Speth's Streamlines · Issue #2 · rougier/windmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
a comment on Speth's Streamlines #2
Open
@denis-bz

Description

@denis-bz

Dear Prof. Rougier,
not an issue, just a comment, please move this to discussions:
in Speth's class Streamlines,
instead of doing bilinear interpolation in the inner loop on a 100 x 100 grid,
expand it once to a say 800 x 800 grid with scipy.ndimage.zoom( order=1 ) --
a space-time tradeoff.

Bytheway, you might like https://anvaka.github.io/fieldplay ; plug in e.g.

v.x = cos( p.y );  
v.y = sin( p.x );  

or
v.x = -p.x + cos( p.y );  
v.y = sin( p.x ) - p.y;

cheers
-- denis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0