Robotics offers innovative possibilities at all levels of education, which should be considered when planning the teaching process for certain engineering mathematics topics in higher education. This paper introduces a new teaching–learning technique that utilizes STEAM-based methods to explore cycloidal curves for Computer Science Engineering BSc students. Traditional frontal teaching has been enhanced with methods addressing the generational needs of students, including problem-based learning, STEAM integration, and project-based learning. We developed a methodological model that merges traditional teaching advantages with practical modern approaches suitable for Generation Z. The four-stage model for learning cycloidal curves employs various didactical approaches, utilizing different learning techniques at each stage to create an engaging and effective learning experience. A vital component of this model is the use of Desmos dynamic geometry software to create animations alongside educational robotics to aid visualization. We conducted quantitative studies with 98 first-year Computer Science Engineering students using a quasi-experimental research design to evaluate the new teaching technique’s effectiveness. Results from the Mann–Whitney U test indicated that the experimental group significantly outperformed the control group. Additionally, the Kruskal–Wallis test confirmed that the four-stage model for learning cycloidal curves enhances learning achievement for all students, regardless of their prior knowledge.