Search found 164 matches
- 27 Apr 2023 17:51
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35512
Re: DosBatch 3D Engine.
New Release 0.03 with rainbow colors and dinamic model. Try it and let me know how fast your processor is. I did my best to optimize the code. I hope it's fast enough even on old pcs. use VT escape sequence avaible in windows 10. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::...
- 22 Apr 2023 13:34
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 54185
Re: 256 colors in virtual terminal escape sequence
I'm surprised you've taken this so far
Though you've lost me by now, I'm still excited to see where you end up with this.
Though you've lost me by now, I'm still excited to see where you end up with this.
- 22 Apr 2023 07:15
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 54185
Re: 256 colors in virtual terminal escape sequence
GIMP.exe https://gyazo.com/182f9f516beb42945a175fd228927d57.png set /A "%4=((%1)*6/256)*36+((%2)*6/256)*6+((%3)*6/256)+16" https://gyazo.com/94d8bb40da10b3ec9ac2625ea6982496.png set /A "%4=((%1-30)*6/256)*36+((%2-30)*6/256)*6+((%3-30)*6/256)+16" https://gyazo.com/24179cfc2b9acd39486565c3eb0a9fad.png...
- 21 Apr 2023 18:06
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 54185
- 21 Apr 2023 14:29
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 54185
Re: 256 colors in virtual terminal escape sequence
I think you may be referring to this formula?einstein1969 wrote: ↑21 Apr 2023 13:45I was looking for a formula to start from a color in RGB format 24bit to the corresponding color (the one closest) to 8 bit
define R G B and set %bitColor% to your return var
Code: Select all
set "bitColor=C=((r)*6/256)*36+((g)*6/256)*6+((b)*6/256)+16"
- 21 Apr 2023 14:27
- Forum: DOS Batch Forum
- Topic: Pacman Kinda
- Replies: 6
- Views: 2882
Re: Pacman Kinda
It took me a little while to finally come up with ascii art that looked good. Thank you so much! I appreciate it
- 20 Apr 2023 18:44
- Forum: DOS Batch Forum
- Topic: Pacman Kinda
- Replies: 6
- Views: 2882
Re: Pacman Kinda
No sir! No special fonts. My library from my github has installing fonts disabled as a default. What I assume you mean is the ascii characters I used in ANSI encoding? Lets closely observe this sprite :) (as I mentioned, dostips removes the ESC character from this line of code below so I will use %E...
- 18 Apr 2023 19:20
- Forum: DOS Batch Forum
- Topic: Pacman Kinda
- Replies: 6
- Views: 2882
Re: Pacman Kinda
very beatiful!!! How did you make those drawings? Hi einstein! Thank you for asking, and your attention :) In order to create these "sprites", I utilize VT100 escape sequences in windows 10. Here is a few examples set "cherry=[2C[38;2;97;138;61m_[B[3D[C[38;2;159;100;66m/[B[3D[38;2;255;0;0m°[38;2;25...
- 08 Apr 2023 15:31
- Forum: DOS Batch Forum
- Topic: Pacman Kinda
- Replies: 6
- Views: 2882
Pacman Kinda
Here is a Pacman styled game in pure batch. Windows 10 or later. https://gyazo.com/5f983df1c5d43dbf583a1c677ff972eb.gif Eat as many DOTS as you can before the CHASER gets you! Use WASD to move around. Cherries to turn into "The predator" where Pacman turns RED for the duration, and the CHASER become...
- 31 Mar 2023 15:56
- Forum: DOS Batch Forum
- Topic: Fastest sin(x) in dos batch
- Replies: 47
- Views: 57462
Re: Fastest sin(x) in dos batch
Oh haha! I'm sorry, I was refering to aacini's method. Your sin(x) works perfectly the way you posted it the first time, my apologies for the miscommunication. I'm just a little puzzled with the solution aacini posted. Does it only support up to 85 degrees? I'm still learning and trying to understan...
- 30 Mar 2023 18:44
- Forum: DOS Batch Forum
- Topic: Fastest sin(x) in dos batch
- Replies: 47
- Views: 57462
Re: Fastest sin(x) in dos batch
Oh yes! Is it possible to macro this line sin(x)?
- 30 Mar 2023 12:54
- Forum: DOS Batch Forum
- Topic: Fastest sin(x) in dos batch
- Replies: 47
- Views: 57462
Re: Fastest sin(x) in dos batch
That was fast! I've been trying to understand how to do that for so long I gave up I'm so grateful for this!
- 30 Mar 2023 11:01
- Forum: DOS Batch Forum
- Topic: Fastest sin(x) in dos batch
- Replies: 47
- Views: 57462
Re: Fastest sin(x) in dos batch
Works great here on Win10! Over 1000 iterations, I saved a combined 10seconds! Worth the switch Is it possible to achieve atan in this fashion??
- 30 Mar 2023 06:20
- Forum: DOS Batch Forum
- Topic: Windows Batch Library
- Replies: 2
- Views: 1826
Re: Windows Batch Library
I'm really sorry to hear you aren't well. I truly hope you improve.
I will check out the new SIN(x) when I get home from work, thank you!!
I will check out the new SIN(x) when I get home from work, thank you!!
- 28 Mar 2023 15:53
- Forum: DOS Batch Forum
- Topic: Smooth Random Numbers
- Replies: 2
- Views: 1599
Re: Smooth Random Numbers
I'm afraid this isn't exactly what I'm looking for. With my examples posted above, the code I wrote does generate a smoother string of random numbers than "%random% %% 10" alone. My goals are to have each generated number influenced by it's surroundings much like perlin/simplex noise. The reason I'm...