Banner
Views: 1,003,689,054
Time:
7 users online: 7 up, Children's Digest 1950-2009, Klug, Mega,  NopeContest, Sixcorby, TS_N - Guests: 46 - Bots: 114 Users: 54,851 (2,037 active)
Tip: Use the Iggy/Larry Battle Tools to edit Iggy/Larry's platform.
Not logged in.
Happy Pi Day Project - Pi Hex Digit Color Finder
Forum Index - Donut Plains - Computers & Technology - Happy Pi Day Project - Pi Hex Digit Color Finder
Pages: « 1 » Link
Views:
Time:
6 users online: o imamelia, o o FPzero, o bebn legg, o Nameless, o Major Flare, o o Scrydan - Guests: 69 - Bots: 160Users: 69,666 (9,999 active)
Latest: Year 2020
Tip:
Have you ever wanted to truly show your nerd colors? Why not pick a color that truly represents pi day?

Well now you can! Introducing a system that searches up to a million digits of pi. It can search a million digits of decimal or hexadecimal.

You can find colors like the one here.
https://scryforce.com/?p=game&g=pi&s=color_finder&position=42


The share color link updates as you find colors, and will allow you to find interesting colors. You can enter a position of digits to search 6 digits of hex from this page. You an also pick a random range of colors up to near a million (1mil-6).

So with that said, I'd like you to check out some colors and show me some interesting results.

So if you'd like to share colors, screen shot the result and the position used. Something like this would work great.



You can also just search results with that other link to look up to 100k digits per page. So it should be a fun pi filled day. Hope you enjoy!

Edit: I'd love to see staff pick one of these random colors. It'd be nice.

Fun fact, my old user name color (#BF0000) on can be found through this:
https://scryforce.com/?p=game&g=pi&s=color_finder&position=506597

Can you find yours?



Edit 2: Here's the color represented by this thread's ID.
https://scryforce.com/?p=game&g=pi&s=color_finder&position=105505

So this is effectively just a random color finder, using digits of Pi as the pseudo-RNG, right? Well, guess that might be useful when trying to find a random color, lol. Definitely sounds like it made for a fun little side project.

If I may make a minor suggestion: I'd switch the position of the "min" and "max" text boxes. When specifying ranges in software, it's pretty much the norm to have minimum values on the left and maximum values on the right. It's quite unusual and unintuitive to do it the other way around, this definitely threw me off at first. The brain naturally wants to read it as "from [...] to [...]", so it's kinda weird when it says something like "from 100 to 0".

That's really the only issue I see, though. It's definitely a solid implementation for what it is. I like how the text color automatically changes to something that is still readable on whatever background color is being used.

--------------------
Feel free to visit my website/blog - it's updated rarely, but it looks pretty cool!
Views:
Time:
6 users online: o imamelia, o o FPzero, o bebn legg, o Nameless, o Major Flare, o o Scrydan - Guests: 69 - Bots: 160Users: 69,666 (9,999 active)
Latest: Year 2020
Tip:
Quote
 RPG Hacker:So this is effectively just a random color finder, using digits of Pi as the pseudo-RNG, right? Well, guess that might be useful when trying to find a random color, lol. Definitely sounds like it made for a fun little side project.

Basically it looks up digits of pi converted to hex. I in fact have a billion digits I could allow it to look up, but... that's like a near gig of data (naturally) to look through and a million I thought was more than enough. A full 100k digits is more than pages of scrolling so I thought it was fun to look through and see it as hex for different colors too. Here's a look at some digits.



So if you pick a random number less than 5k, your color is somewhere in there. For me, my name color would be found at 506,597 digits (position). It is quite amazing. While it doesn't contain every name color in a million digits, it does contain quite a few of them.

Quote
If I may make a minor suggestion: I'd switch the position of the "min" and "max" text boxes.

Yes, I was debating doing that...but somewhere forgotten to do so. Now it has been fixed in like 30 seconds. lol

Now if you're curious as to why it was backwards...was because of the actual PHP pi function I made. Much like how you code functions, parameters are often ordered by how often you change them. Like max/min functions, the number function I made is max, min because you change the max more often than min despite how min and max is where you'd place it logically. But this means I can call the function like random::get(69) instead of needing to always specify 0, 69 most of the time as 0 is assumed until I specify I need 1 or some other minimal value.

Now while this order might make sense for code, it makes NO sense for UI elements, and thus it was fixed to be where most people would expect that input elements being ordered. Apologies for any difficulty it has caused.

Quote
That's really the only issue I see, though. It's definitely a solid implementation for what it is. I like how the text color automatically changes to something that is still readable on whatever background color is being used.


Yeah...the logic behind making the text ALWAYS visible was rather tricky. There was several things tried. Initially flipping the text color to be FF0000 if the values were low on the first grouping of 2, but then high on the other two. But then it went to a more fine system, for each hex digit 0-15. Nerd stuff aside, it was an interesting experiment but did cause some hassle as finding a better method would indeed be nice as it isn't completely satisfactory but I do find that after 3 days of work, it turned out alright.

Work started 2 days ago, and most of the work on the function completed right away, but the constant tweaks to make a decent UI took the rest of the time.


I do think I wish to turn this into a game of some sort. You might have noticed this is part of a page called "game". There's lots of games currently under wraps, and many including some playing cards. I have yet to reveal most of what I am working on but I am hoping to reveal it soon.

In the meantime, I hope some of you enjoyed some of the pi fun. I haven't done much relating to pi before, but this has been a fun project and I've certainly learned a lot. ^.=.^


Also side note, I randomly created a base 40 number. It is, well, interesting. This is what happens when a programmer has way too much time on his hand coding so many site related things, including a scheme system I am quite happy about.

This looks super cool if I could use this! Awesome!

And btw, here's mine:
https://scryforce.com/?p=game&g=pi&s=color_finder&position=2424
Major thanks to Nenilein (a.k.a. @PinkGeekNeni on Twitter) for the profile pic I'm using!
Help us raise funds for the Armed Forces of Ukraine. #ДопомагаємоРазом / #HelpTogether
“Even if you personally are so dissatisfied with life that you want the world to end, surely the cruel reality is that it will continue on, unchanging. All the better for someone perfectly content, like me.”
Aya Shameimaru, Touhou Suzunaan ~ Forbidden Scrollery
Pages: « 1 » Link
Forum Index - Donut Plains - Computers & Technology - Happy Pi Day Project - Pi Hex Digit Color Finder

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks