Git Product home page Git Product logo

lis's Introduction


Light Interference Simulation User Manual

IB I.A.


Download and decompress the zip file under the Build folder and run Lis.exe

Guide for creating a setup and running a simulation:

  1. Add components via the "+" button
  2. Select a component by clicking on the "Components" menu and then on the unique name of the component you wish to select
  3. Edit parameters in the inspector tab, select the unit using the dropdown menu if applicable
  4. Delete a component by selecting it and pressing the "Delete component" button in the inspector tab
  5. Click the "Launch" button to run the setup
  6. Right click the calculated graphs to save as image

To save or load a setup (components plus global settings), click on the "Save" or "Load" button beneath the "Launch" button


List of global settings:

Light Wavelength - As the simulator supports only light of a single wavelength, it is adjusted via this global setting

Scattering density - The number of rays into which a scattering ray scatters onto a component exposed to the ray, the angle between the furthest scattered rays is almost PI

Collision test density - The number of segments used to check for obstacles between a component and a ray. A value of 30-50 is generally sufficient unless components vary greatly in size

Calculation thread count - Used for multithreading. Equals the number of threads created to share the workload of calculating points on the screen. The average workload for each thread is roughly the screen resolution divided by the thread count


If the graph appears incorrect, you can try to:

  1. double check if each component has the correct parameters (components must not intersect!)
  2. increase the resolution of the screen
  3. decrease or increase the screen width
  4. increase the scattering density
  5. increase the collistion test density

W. 2023

lis's People

Contributors

sodajar avatar

Watchers

 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.