C++: Let the Ball Start a Jumping Adventure

C++: Let the Ball Start a Jumping Adventure

In the previous two articles, the ball performed free fall and parabolic motion. Today, we will control the ball to complete a jumping adventure game using the space key.In this game, players need to control a jumping ball to avoid moving obstacles. As the game progresses, the obstacles will continuously reset, and players need to … Read more

C++ Animation of a Bouncing Ball

C++ Animation of a Bouncing Ball

Hello everyone! Today we will learn an interesting programming project—implementing an animation of a bouncing ball using C++. This project not only has an intuitive visual effect but also includes core concepts of animation programming and physics simulation.First, let’s look at the final effect: in the center of a black window, a small ball falls … Read more

Jolt Physics 5.2.0: A Beginner’s Guide to a Multithreaded Rigid Body Physics Engine

Jolt Physics 5.2.0: A Beginner's Guide to a Multithreaded Rigid Body Physics Engine

Jolt Physics 5.2.0: A Beginner’s Guide to a Multithreaded Rigid Body Physics Engine Jolt Physics is a multithreaded rigid body physics and collision detection library designed specifically for games and VR applications, written in C++. It has emerged in modern game development due to its excellent performance and stability. This article will introduce the core … Read more

Autonomous Driving Algorithms | Building a Real-Time Collision Avoidance System: An End-to-End Computer Vision Pipeline in C++

Autonomous Driving Algorithms | Building a Real-Time Collision Avoidance System: An End-to-End Computer Vision Pipeline in C++

Institute of Robotics Planning and Control—— A comprehensive, professional platform for robotics/autonomous driving planning and control. A WeChat account with 40,000 subscribers. Click the blue text “Institute of Robotics Planning and Control” below the title to follow us for valuable and in-depth reading. Introduction Imagine driving at 70 miles per hour on a busy highway … Read more

Microneedle Sensors for Plant Ion Monitoring: A Step Towards Smart Agriculture

Microneedle Sensors for Plant Ion Monitoring: A Step Towards Smart Agriculture

Microneedles With the increasing global demand for food and the unprecedented pressure on agricultural systems due to environmental challenges, understanding the role of ions (i.e., key nutrients) in crop productivity has become more important than ever.Unfortunately, current tools for plant ion analysis rely on destructive sap collection, which cannot capture the dynamic changes in ion … Read more

CCD: A Powerful C++ Library for Collision Detection

CCD: A Powerful C++ Library for Collision Detection

CCD: A C++ Library for Collision Detection In the fields of computer graphics and physics simulation, collision detection is a very important task. It is used to determine whether two or more objects are in contact or overlapping. The CCD (Continuous Collision Detection) library is a specialized C++ library for collision detection that provides efficient … Read more

Chipmunk: A Powerful C++ Physics Engine Library

Chipmunk: A Powerful C++ Physics Engine Library

Chipmunk: A Powerful C++ Physics Engine Library Chipmunk is a lightweight, fast, and easy-to-use 2D rigid body physics engine library widely used in game development. Although it was originally written in C, it is also perfectly compatible with C++ and offers a rich set of features that allow developers to easily add complex physical effects … Read more

Arduino Sensors: Touch Sensor

Arduino Sensors: Touch Sensor

01Basic UnderstandingModel:HS-S31PName:Touch SensorSeries:SensorDescription:This module is designed specifically for detecting mechanical collisions or vibrations. It features a built-in elastic triggering mechanism and signal processing circuit, which can convert physical collision forces into recognizable digital signals (high/low level). It accurately responds to instantaneous impacts or continuous vibrations, making it a core detection component for obstacle avoidance and … Read more

Final Review Summary of IoT Communication

Final Review Summary of IoT Communication

This article is my original work. If there are any issues, please point them out in the comments. Thank you!Thanks to iFLYTEK’s Spark Cognitive Model.Comparison and Analysis of Pure ALOHA and Slotted ALOHAThis section only requires the calculation of these two scenarios.Next, let’s take a look: Simplified Chinese Version: Difference between RFID and Smart CardsRFID … Read more

Collision Detection in C++ Game Development

Collision Detection in C++ Game Development

Collision Detection in C++ Game Development In game development, collision detection is a very important aspect. It helps us determine whether interactions occur between objects, such as whether a character collides with an obstacle or a bullet hits an enemy. This article will detail methods for implementing basic collision detection in C++, suitable for beginners … Read more