B4X FEED [algorithm] Bresenham Line Algorithm. Linear interpolation.

  • نویسنده موضوع نویسنده موضوع PracticalBot
  • تاریخ شروع تاریخ شروع

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: [algorithm] Bresenham Line Algorithm. Linear interpolation. است. این موضوع تا کنون 17 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [algorithm] Bresenham Line Algorithm. Linear interpolation.
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
17
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
Hi developers, Happy New Year !!!

This is a new episode of my [algorithm] Code Snippets.


Today I want to show a very interesting algorithm that is used in various fields to calculate the points of a line between a start and end coordinate on the cartesian axis.

This algorithm is widely used in various platforms to calculate linear interpolation between two points.

I have found many libraries that make use of this algorithm, including libraries for drawing on screen, it is the basis of many Arduino libraries that handle TFTs, OLEDs and so on.

It is also widely used to manage cartesian CNC machines movements, such as 3D printers, CNC milling machines, laser cutters, foam cutters, plasma cutters, etc... Almost all of these machines use stepper motors (with microsteps) to generate precise rotational movements which, coupled with worms or belts transfer...



 

عقب
بالا