Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-28 Thread Anthony Walter via fpc-pascal
Ah, so that was you who wrote the C wrapper? I saw that a while ago and considered using it, but after looking at and exploring how Chimpmunk2D works, I decided it was smaller, pretty darn good. That and Chipmunk2D is already C, so very little work was needed from me to convert it to work with Pasc

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-28 Thread Ryan Joseph via fpc-pascal
> On Oct 29, 2021, at 4:25 AM, Anthony Walter via fpc-pascal > wrote: > > Thanks for the interest Ryan. I am preparing to push my code to a public git > repository with a FOSS license. In order to get this out soon it will be > broken into a few releases. Nice let us know when it's finishe

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-28 Thread Anthony Walter via fpc-pascal
Thanks for the interest Ryan. I am preparing to push my code to a public git repository with a FOSS license. In order to get this out soon it will be broken into a few releases. The first release, which is 100% done but needs accompanying documentation, might be out in a week's time. It includes a

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-28 Thread Ryan Joseph via fpc-pascal
> On Oct 16, 2021, at 5:18 AM, Anthony Walter via fpc-pascal > wrote: > > Source code for the test scene is included on that page. If you want to help, > I need to bounce ideas off people as well as test on Raspberry Pi, Mac, and > Windows. Message me and maybe we can try to meet on a Discor

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-16 Thread Anthony Walter via fpc-pascal
If you are running x64-86 Linux, would like to get my code you can join my Discord channel at the link below. Windows and Mac users will need to have cmake and the ability to build with it, but they're invited as well. https://discord.gg/NuTDatAz I am making a lot of changes, so I don't want to c

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-16 Thread Darius Blaszyk via fpc-pascal
Not entirely, a link to the wrappers is missing, unless I overlooked it. A link to repository for a complete demo would be useful. Darius Sent from my iPhone > On 16 Oct 2021, at 12:59, wkitty42--- via fpc-pascal > wrote: > >  > ummm... the source code is on the linked page ;) > >> On 10/1

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-16 Thread wkitty42--- via fpc-pascal
ummm... the source code is on the linked page ;) On 10/16/21 2:58 AM, Darius Blaszyk via fpc-pascal wrote: Can you put the link up to the source code please? On 16 Oct 2021, at 00:27, Anthony Walter via fpc-pascal wrote: [...] https://www.getlazarus.org/videos/physics/collisions/ Source co

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-15 Thread Darius Blaszyk via fpc-pascal
Hi Anthony, Can you put the link up to the source code please? Rgds, Darius Sent from my iPhone > On 16 Oct 2021, at 00:27, Anthony Walter via fpc-pascal > wrote: > >  > I've been working on writing Pascal bindings a friendly object orient > interface to a few open source projects. I have

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-15 Thread Anthony Walter via fpc-pascal
I often use squares / cubes and such like: X := X * X * X; When I am unsure how much steep of a curve I want. I just add / remove X and run the test to see if the curve looks good. It's just a preference thing and considering the other processing intensive stuff going on, I am sure it doesn't mak

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-15 Thread Anthony Walter via fpc-pascal
> > I have writen my own fairly extensive game engine and this will be > integrated into it sometime soon. My thought was it would be more useful to > create a minimal version first that other people could evaluate and test > more easily. ___ fpc-pascal m

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-15 Thread Ched via fpc-pascal
> Fade := Fade * Fade * Fade * Fade * Fade; Why not Fade:=sqr(sqr(Fade))*fade ? Cheers, Anthony, Ched Le 15.10.21 à 22:18, Anthony Walter via fpc-pascal a écrit : I've been working on writing Pascal bindings a friendly object orient interface to a few open source projects. I have put toget

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-15 Thread DougC via fpc-pascal
I would be helpful if you could meld this work into other Pascal-based efforts, such as the Castle Game Engine. I don't know the details of CGE but if it could use more of this type of functionality, why not make your work even more useful by connecting up with CGE? Doug C. On Fri,