The beauty / magic of math (Vol. 1 - 19 build 2023-05-01)
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Added volumes 8-12 (see 1st post for download link).
I think 12 volumes with 500 examples are enough for now.
Happy watching.
I think 12 volumes with 500 examples are enough for now.
Happy watching.
Last edited by UEZ on Jan 03, 2022 10:46, edited 2 times in total.
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
zip file missing vol 5 and 12
other:
hit ESC it keeps running
Vol 11 - 3d pipes, Animated Curved Blue, Blue pattern
other:
hit ESC it keeps running
Vol 11 - 3d pipes, Animated Curved Blue, Blue pattern
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Indeed, vol. 5 was missing but not vol. 12. I uploaded the 7-Zip archive once again. Now it should contain all 12 volumes. I packed it with 7-Zip v21.07.dafhi wrote:zip file missing vol 5 and 12
Hmmm, for me it works properly when pressing ESC the program terminates as expected. Can you recompile and test it if it works then for you? All files were compiled in my Win7 VM using "-s gui -gen gcc -Wc -Ofast". Some of the examples must be compiled as x64.dafhi wrote: other:
hit ESC it keeps running
Vol 11 - 3d pipes, Animated Curved Blue, Blue pattern
Thanks for your feedback. :-)
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Hi UEZ :-)
very nice indeed, however in some demo's you need to change Integer to Long to make it 64-bit compatible
so far the places that I found that need the change is the line Dim As Integer imgData, pitch
very nice indeed, however in some demo's you need to change Integer to Long to make it 64-bit compatible
so far the places that I found that need the change is the line Dim As Integer imgData, pitch
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Thanks srvaldez for the hint. This is a relict from the older FB version where Integer was ok. Updated the archive.srvaldez wrote:Hi UEZ :-)
very nice indeed, however in some demo's you need to change Integer to Long to make it 64-bit compatible
so far the places that I found that need the change is the line Dim As Integer imgData, pitch
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
UEZ - thank you for your efforts! i downloaded the new file, the 2 precompiled exes i tested close properly
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
The reason why Vol. 5 was missing is that I renamed the roman numbers and skipped Vol. 5 by a mistake.
In the old archive Vol. 5 and Vol. 10 are equal. I uploaded a new version with corrected volume numbers and a few Vol. 12 examples.
¯\_(ツ)_/¯
In the old archive Vol. 5 and Vol. 10 are equal. I uploaded a new version with corrected volume numbers and a few Vol. 12 examples.
¯\_(ツ)_/¯
Last edited by UEZ on Jan 05, 2022 22:12, edited 1 time in total.
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Keep your admin on track UEZ:
Code: Select all
function intToRoman(num as longint) as string
dim as string m(...) = { "", "M", "MM", "MMM" }
dim as string c(...) = { "", "C", "CC", "CCC", "CD", _
"D", "DC", "DCC", "DCCC", "CM" }
dim as string x(...) = { "", "X", "XX", "XXX", "XL", _
"L", "LX", "LXX", "LXXX", "XC" }
dim as string i(...) = { "", "I", "II", "III", "IV", _
"V", "VI", "VII", "VIII", "IX" }
dim as string thousands = m(num \ 1000)
dim as string hundreds = c((num mod 1000) \ 100)
dim as string tens = x((num mod 100) \ 10)
dim as string ones = i(num mod 10)
dim as string ans = thousands + hundreds + tens + ones
return ans
end function
for n as long=1 to 465
print n,intToRoman(n)
next
sleep
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Thanks dodicat for the roman number converter. At the beginning I started with roman numbers for an unknown reason and thought that the number of volumes will stay small but after some more volumes the sorting of the folder names in explorer view was confusing me and thus I decided to rename the numbers.dodicat wrote:Keep your admin on track UEZ:Code: Select all
function intToRoman(num as longint) as string dim as string m(...) = { "", "M", "MM", "MMM" } dim as string c(...) = { "", "C", "CC", "CCC", "CD", _ "D", "DC", "DCC", "DCCC", "CM" } dim as string x(...) = { "", "X", "XX", "XXX", "XL", _ "L", "LX", "LXX", "LXXX", "XC" } dim as string i(...) = { "", "I", "II", "III", "IV", _ "V", "VI", "VII", "VIII", "IX" } dim as string thousands = m(num \ 1000) dim as string hundreds = c((num mod 1000) \ 100) dim as string tens = x((num mod 100) \ 10) dim as string ones = i(num mod 10) dim as string ans = thousands + hundreds + tens + ones return ans end function for n as long=1 to 465 print n,intToRoman(n) next sleep
:-)
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Sounds interesting! Thanks!
As side note - is there a possibility to transform it to transparent windowless kind of animated splash-screen with counter/progress bar to show at main program start/busy times? It would be great to have something this beautiful...
As side note - is there a possibility to transform it to transparent windowless kind of animated splash-screen with counter/progress bar to show at main program start/busy times? It would be great to have something this beautiful...
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 12)
Hi Iczer,Iczer wrote:Sounds interesting! Thanks!
As side note - is there a possibility to transform it to transparent windowless kind of animated splash-screen with counter/progress bar to show at main program start/busy times? It would be great to have something this beautiful...
I don't know what you mean. Can you please explain it more precise?
Re: The beauty / magic of math (28 examples) Vol. II (Vol. 1 - 19 build 2023-05-01)
Added many more examples from dwitter.net -> ~802 examples now and 19 volumes in sum.
Have a look to the first post for download link.
The executable files can cause false positive alarms in lame AV apps.
Have a look to the first post for download link.
The executable files can cause false positive alarms in lame AV apps.
Re: The beauty / magic of math (Vol. 1 - 19 build 2023-05-01)
folders is a good idea, but not a folder every exe & bas
also, i'm on linux
also, i'm on linux
Re: The beauty / magic of math (Vol. 1 - 19 build 2023-05-01)
Imho, with the folders it is more structured and clearer but feel free to change it on your system.
I'm on Windows only.
I'm on Windows only.
Re: The beauty / magic of math (Vol. 1 - 19 build 2023-05-01)
A little presumptuous of me.
Might you be able to help me with some mathematics.
Mostly sorted, just a fiddly bit , relates to DFT and CFT .
Might you be able to help me with some mathematics.
Mostly sorted, just a fiddly bit , relates to DFT and CFT .