ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > PublicDomainVic

Single Dot in Graphics Window

<< < (3/5) > >>

nkormanik:
I love it, Vic!!  You continue to do the amazing!

nkormanik:
Just curious, Vic....

Is the random pattern the same each and every time, or does it change each time?

Oftentimes a random number series starts with a 'seed.'  If the seed is the same each run, the runs are identical.

If the 'seed' comes from, say, the current time, down to the millisecond, the series will always be different.

publicdomain:
Is the random pattern the same each and every time, or does it change each time?
-nkormanik (July 27, 2023, 03:46 AM)
--- End quote ---

Hi Nick! The default "seeding" for the C# language random generator code is used, so it should be dynamic :Thmbsup:

nkormanik:
Very nice little gem, Vic!

Thanks a million.

nkormanik:
Vic, a possible enhancement request, if you might have the time.

Could be a separate program, very similar to the existing one.  Or could be an addition built into the present program.

Suppose the latter.  Incorporate: "Mode".

Existing mode is what exists presently.  Let's call it "Random".

A second mode, though, would be quite useful.  Let's call it "Corners".

(or a separate program called, perhaps, "Corners Dot".)

In this second mode, a single dot (exactly as in present program) appears in the North-West corner.  Then jumps to the South-East corner.  Then to the North-East corner.  And finally to the South-West corner.  After those four dots -- creating, basically, a large X -- process simply repeats for the allotted time.

Any thoughts?

Thanks!
Nicholas


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version