Package org.openpixi.pixi.physics.force

Examples of org.openpixi.pixi.physics.force.SpringForce


    stt.setSpeedOfLight(3);
    stt.setSimulationWidth(100);
    stt.setSimulationHeight(100);

    stt.addForce(new ConstantForce());
    stt.addForce(new SpringForce());

    stt.setParticleList(new ArrayList<Particle>());

    stt.setBoundary(GeneralBoundaryType.Periodic);
    stt.setParticleSolver(new EulerRichardson());
View Full Code Here

TOP

Related Classes of org.openpixi.pixi.physics.force.SpringForce

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.