GithubHelp home page GithubHelp logo

darkyenus / fountainsimulator Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 3.27 MB

Simulator for the fountain wall installed in Brno in front of Janáčkovo divadlo

License: MIT License

Scala 2.83% GLSL 3.40% Java 9.70% Kotlin 84.08%

fountainsimulator's Introduction

Fountain Simulator

Reality: Reality

Simulation: Simulation

Features

  • Easy to use visualization of images for the fountain
  • Supports multiple bitmap images in arbitrary sequence
  • Focus on any part of the sequence, pause it, A-B repeat it
  • Accurate image distortion
  • Semi-accurate rendering
  • Image auto reload

How to use

  • Make sure that you have Java 8 installed

  • Download from releases

  • Run by double clicking the downloaded .jar file (If you have Java installed, but double-clicking does not open the simulator, try to run through the Windows .bat file which you download to the same directory you keep the .jar in.)

  • Use mouse to drag image files on the screen to add them to the timeline

  • Rearrange the image sequence using arrow buttons

  • Remove images from the sequence with red x button

  • Play and pause the animation by clicking the button or by pressing the spacebar

  • Scrub on the timeline by dragging with left mouse button

  • Create A-B repeat section by dragging with right mouse button on the timeline

  • Loaded images that change on disk will reload automatically when changed

    • Supply -no-reload argument to disable this
    • Change detection is implemented through last modified timestamp
  • Advanced

    • Images on the fountain have their height halved before being displayed. This is done automatically by the simulator, but sometimes the image is already halved so this manipulation is not desirable. To suppress this, supply launch argument -scale. If you want to experiment with other scales, specify them in the argument like so: -scale:<scale>, for example -scale:0.25.
    • To enable debug logging, pass -debug flag.
    • To enable OpenGL error checking, pass -gl-debug flag.

Credits

See LICENSE for author and license information.

Special thanks to Lukáš Plachý for kindly supplying image resources and valuable advice.

fountainsimulator's People

Contributors

darkyenus avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.