Skip to content

NRG-Drink/matrix-like-code-rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enter The Matrix In Console

Make your console enter the matrix!

sample

Install

dotnet tool install --global NRG.Matrix

Start With Defaults

matrix.enter

Start With Parameters

matrix.enter --delay 80 --add-rate 1 --max-objects 9999 --max-frame-time 20 --bench-mode false

Delay

This will set a pause in milliseconds (ms) between the frames.

Max-Objects

Will set the maximum number of objects. When the maximum number is reached, no more objects will be created. (object = falling drop)

Add-Rate

A factor to a function who depends on screen width. It has impact on the number of objects that are added to the screen on each frame.

Max-Frame-Time

This will set a target time for a frame to display, if the frame takes more time to calculate, the add-rate will be decreased until it can handle it.

Bench-Mode

Thiss will toggle the benchmark-mode to see the frame calculation time and the current add-rate.