Old Skool Effects & Other Stuff

Share your advanced PureBasic knowledge/code with the community.
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: Old Skool Effects & Other Stuff

Post by BarryG »

Ray_Tracing_1.pb -> Nice! Very smooth on my old PC, too.

Ray_Tracing_2.pb -> For a moment I thought this was meant to be animated, but looking at the code I don't see anything for that. So it's just to show the reflections? If so, it's nice as well, and amazing mathematics used. Way above my understanding. :)
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi Mindphazer,

Thank you for saying so, I put a lot of time into the small details.

I was hoping most of the examples were cross-platform, but since losing my virtual drive two years ago, I've only had access to Windows.

NOTE: The way you feel about your MacBook Pro is the same way I feel about the Windows OS.

-------------------------------

Hi BarryG,

Thank you for taking a real interest.

Definitely complicated. I'm able to use the algorithms when programming, changing some values to achieve various effects, but the math, forget about it. Check out the references, I believe they're references of references, and those references are references of references; say that ten times fast.

-------------------------------

Hi All,

The included 8 examples are PART 1 of 4.
• Some of the examples in the 4-part download will be simple.
• It would be a mistake to ignore these if you're interested in this type of programming.
• Compare my version with the original, and you're on your way to converting some old Basic to PureBasic.

This group contains some of my favorite SpecBAS examples: Attraction.pb, Bubble_Universe.pb, etc.
• If there are any additional features they will be listed in the Title Bar.
• Some of the examples, where applicable, include the Maximize Window Button.

Download: Old Skool Kool PART 1
• References have been included to give credit where credit is due.

Image
Last edited by JHPJHP on Sat Nov 16, 2024 9:49 pm, edited 28 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Old Skool Effects & Other Stuff

Post by jacdelad »

Hi JHPJHP,
These things are very cool and we know your code is always well-formed and -thought.

Speaking for myself I couldn't test your stuff yet, because I just started my new job. But I can't wait to see more and will try it when I have time.

Big thanks for sharing!
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Old Skool Effects & Other Stuff

Post by Mijikai »

Very nice examples.
I really liked deep field, i remember playing around with it.
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi jacdelad,

You're welcome, thank you for posting.

-----------------------------

Hi Mijikai,

Thank you for your post, I'm fairly sure nothing here will be new to you.

For anyone else reading this post, you really need to check out Mijikai work.
[Windows x64] RetroPixel a 2D 8-Bit (256 Color) GFX Library - DEV
[Library] T720 - A 256 Color Retro Terminal [Linux & Windows]

-------------------------------------------------

Included in the SpecBAS folder (PART 1 of Old Skool Kool) is the Digital Rain example.
• Not to be confused with the basic Matrix Effect, previously discussed and located in the QB64 folder.
• One of many options that sets this example apart is #DYNAMIC_FADE: Fade Up, Fade in Place, Fade Down.

Image
Last edited by JHPJHP on Thu Nov 07, 2024 5:00 pm, edited 3 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Old Skool Effects & Other Stuff

Post by SPH »

Waouw : a lot of good codes ! :shock:

GG JHP :wink:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Old Skool Effects & Other Stuff

Post by Fangbeast »

Playing with your examples is so much better than me sitting here on the radio:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi SPH,

Thank you, I'm about halfway there.

-----------------------------

Hi Fangbeast,

I don't know, I think I'd be trying to crack the code on those Numbers Stations.
• I hope a couple of the new examples also provide some interest.

-------------------------------

Hi All,

The included 8 examples are PART 2 of 4.
• Some of the examples in the 4-part download will be simple.
• It would be a mistake to ignore these if you're interested in this type of programming.
• Compare my version with the original, and you're on your way to converting some old Basic to PureBasic.

This group contains a few more of my SpecBAS favorites: Evolution.pb, Flux.pb, etc.
• If there are any additional features they will be listed in the Title Bar.
• Some of the examples, where applicable, include the Maximize Window Button.

Download: Old Skool Kool PART 2
• References have been included to give credit where credit is due.

While the following image demonstrates a fairly simple effect, the way it's processed is interesting.
• The lines are static, but the color palette is shifted.

Image
Last edited by JHPJHP on Sat Nov 16, 2024 9:50 pm, edited 6 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Old Skool Effects & Other Stuff

Post by idle »

I feel like this is getting somewhere now. :wink:
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi idle,

Thank you for commenting.

If anyone wants to check out another really cool graphics effect, see the following: Osmosis
• Original: PurePunch Contest July-August 2014

I don't know, I guess it depends on your perspective; from where I'm sitting:
• After a week, when the number of forum members (12) posting positive comments is less than half the number of examples (26).

I don't get it; this latest batch includes 2 Perlin Noise algorithms and an Old Skool HSV to RGB algorithm, so Where Is The Love?

Image
Last edited by JHPJHP on Fri Nov 08, 2024 1:56 am, edited 6 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Old Skool Effects & Other Stuff

Post by idle »

I'm sure everyone is appreciative of your efforts, I intend to spend some time looking over them in the weekend.
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: Old Skool Effects & Other Stuff

Post by BarryG »

Definitely appreciative! :)
normeus
Enthusiast
Enthusiast
Posts: 470
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: Old Skool Effects & Other Stuff

Post by normeus »

Finally I got to run the new examples, they are amazing!
Now I just need a lot of time to understand the magic of the code.

Thank you.
Norm
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
Ajm
Enthusiast
Enthusiast
Posts: 242
Joined: Fri Apr 25, 2003 9:27 pm
Location: Kent, UK

Re: Old Skool Effects & Other Stuff

Post by Ajm »

Hi JHPJHP,

I don't get much time these days to do any coding in Pure basic but do still regularly read the posts on this forum.

I've always found your examples and codes to be very helpful and I've learnt quite a bit from them. You're windows service code was a life saver a few years back in a project I was working on.

Please keep on posting these amazing examples of what can be achieved using PB. I just hope I can get some time to actually try them out myself.
Regards

Andy

Image
Registered PB & PureVision User
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: Old Skool Effects & Other Stuff

Post by marc_256 »

Hi JHPJHP,

Love your work,
as always, very good and nice work.
Everytime you post, I can learn a lot of your work.

I don't know the graphics will work on my old/small computer ?
Will test it ...


Thanks,
Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Post Reply