Search found 684 matches

by h4tt3n
Jan 24, 2018 20:07
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 38264

Re: DIY hardware interface for simple data collection and robot control?

Thanks for all your replies, I didn't know it was such a sensitive topic. While I know that the old serial / parallel ports are decommissioned, I expected there to be a newer alternative - which there apparently is not?!? Oh, I miss the old days with full hardware access... If I am not mistaken, wha...
by h4tt3n
Jan 20, 2018 12:47
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 38264

Re: DIY hardware interface for simple data collection and robot control?

Instead of buying a new PC with a parallel port (might be difficult to find one), you could check if USB->X converters could do the job. See e.g. My New Laptop Does Not Have Any RS232 Ports . If you search for USB to Printer DB25 25-Pin Parallel Port Cable Adapter on the website of a well-known onl...
by h4tt3n
Jan 20, 2018 12:45
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 38264

Re: DIY hardware interface for simple data collection and robot control?

I know controlling stuff on an old PC with a parallel port is a bit outdated NO, its not just "outdated", it is in ICT terms: "Dinosaur-technologies". And, your pupils will be the first, to tell you all about it! @grindstone, we are talking about young kids here (not "old&q...
by h4tt3n
Jan 20, 2018 12:27
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 38264

Re: DIY hardware interface for simple data collection and robot control?

Great project! I've done a lot of such stuff in the past and I'd like to offer you my support (including the derivation of the Bresenham algo from the line equation). First of all: To keep things easy you will need a computer with a parallel port and for Win >= XP a driver called "inpout32.dll...
by h4tt3n
Jan 20, 2018 11:16
Forum: Community Discussion
Topic: Using FreeBASIC in the classroom?
Replies: 11
Views: 3189

Using FreeBASIC in the classroom?

Hello folks, I have just landed a very exciting job as a math & science teacher in an alternative-type school where teachers are allowed - and even encouraged - to seek new ways of teaching their pupils besides classic "chalkboard lecturing". My first thought was of course: "Hell ...
by h4tt3n
Jan 20, 2018 10:29
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 38264

DIY hardware interface for simple data collection and robot control?

Hello folks, I have just landed a very exciting job as a 5th to 8th grade math/science teacher, and I am planning on using FB as an integral part of my education. I'll be teaching in a type of school with less restrictions, and there is considerably less "chalkboard teaching" than in a typ...
by h4tt3n
Dec 28, 2017 9:27
Forum: Community Discussion
Topic: time to say goodbye
Replies: 53
Views: 11071

Re: time to say goodbye

Dammit Joshy, I am really sorry about your decision to leave - mostly for entirely egoistical reasons. I meant to ask for your opinion on a project I have been working on for some time (the physics engine we have been discussing). Is there any way to contact you outside this forum?

Cheers, Mike
by h4tt3n
Dec 18, 2017 19:14
Forum: Libraries Questions
Topic: set up SDL2
Replies: 37
Views: 8182

Re: set up SDL2

Now that I am able to compile and run the C++ SDL2 program examples successfully I thought it might be interesting to see if I could translate some of the simpler ones to FreeBASIC. Has anyone done this and knows how to set it all up? Yes, I will zip my folders with tutorial c++ to fb translated ex...
by h4tt3n
Nov 25, 2017 9:13
Forum: Sources, Examples, Tips and Tricks
Topic: draw rotated ellipse
Replies: 8
Views: 2241

Re: rotate oval

Here is an example of how to draw rotated ellipses without calling sine and cosine for every iteration. This version is *much* faster and less CPU expensive than the other examples posted here so far. Cheers, Mike '' Very fast ellipse drawing function by Michael "h4tt3n" Nissen '' version ...
by h4tt3n
Nov 11, 2017 3:34
Forum: Projects
Topic: Alvarian Tales
Replies: 26
Views: 11165

Re: Alvarian Tales

Really gorgeous pixel art! Brings back memories of the good old 16 bit Amiga years :-)
by h4tt3n
Oct 29, 2017 20:58
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 14630

Re: Frame rate independent game loop

I will, and yes I'm very familiar with Thomas Jacobsen's verlet paper - this brings fun memories from the old, original Hitman game in which he and his colleagues implemented it :-)
by h4tt3n
Oct 29, 2017 18:15
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 14630

Re: Frame rate independent game loop

Teaming up for something? Count me in! What kind of stuff you're interested in? 2D? 3D? And what kind of game, concretely? I need some fun (I'm sick of financial coding stuff) so this could be very interesting. I would love to see your physics stuff. If time permits, I'll show you a simple implemen...
by h4tt3n
Oct 29, 2017 12:20
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 14630

Re: Frame rate independent game loop

Hi there Paul, Yeah, I just realized that the rendering was only used for setting up the demo, not in the main loop, so never mind. It's just an old habit of mine to optimize stuff :-) I don't think the forum is dead at all, there's new exciting stuff to look into almost every day - like your nice e...
by h4tt3n
Oct 29, 2017 11:02
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 14630

Re: Frame rate independent game loop

This is really nice work, points for sharing your code. I took a quick glance at your metaball drawing algorithm and got rid of the nasty doubly for-loop nested square root call in renderer.bi: sub FBRenderer.drawMetaballImage( byval context as IRenderContext ptr ) /' Draws a 'metaball' This functio...
by h4tt3n
Oct 27, 2017 5:20
Forum: Libraries & Headers
Topic: TinyGL for FreeBASIC.
Replies: 26
Views: 17210

Re: TinyGL for FreeBASIC.

This is great Joshy, just what I need for rendering in my light weight 2D game engine. I like how you can render openGL stuff and at the same time use native fb gfx. My Lenovo laptop: OS: Win10 CPU: AMD A10 GPU: AMD Radeon R6 series FPS: ~650-850 (kept fluctuating) My ThinkCentre tabletop: OS: Win10...