首页> 外文期刊>Computer Science and Information Technology >A Simple and Fast Line-Clipping Method as a Scratch Extension for Computer Graphics Education
【24h】

A Simple and Fast Line-Clipping Method as a Scratch Extension for Computer Graphics Education

机译:一种简单快速的剪线方法,作为计算机图形学的从头开始

获取原文
           

摘要

Line clipping is a fundamental topic in an introductory computer graphics course. An understanding of a line-clipping algorithm is reinforced by having students write actual code and see the results by choosing a user-friendly integrated development environment such as Scratch, a visual programming language especially useful for children. In this article a new computation method for 2D line clipping against a rectangular window is introduced as a Scratch extension in order to assist computer graphics education. The proposed method has been compared with Cohen-Sutherland, Liang-Barsky, Cyrus-Beck, Nicholl-Lee-Nicholl and Kodituwakku-Wijeweera-Chamikara methods, with respect to the number of operations performed and the computation time. The performance of the proposed method has been found to be better than all of the above-mentioned methods and it is found to be very fast, simple and can be implemented easily in any programming language or integrated development environment. The simplicity and elegance of the proposed method makes it suitable for implementation by the student or pupil in a lab exercise.
机译:剪线是计算机图形学入门课程中的基本主题。通过让学生编写实际代码并通过选择用户友好的集成开发环境(例如Scratch)(一种对儿童特别有用的可视化编程语言)来增强对剪线算法的理解。在本文中,针对刮擦扩展引入了一种针对矩形窗口的2D线裁剪的新计算方法,以帮助进行计算机图形学教育。就执行的操作次数和计算时间而言,已将拟议的方法与Cohen-Sutherland,Liang-Barsky,Cyrus-Beck,Nicholl-Lee-Nicholl和Kodituwakku-Wijeweera-Chamikara方法进行了比较。已经发现,所提出的方法的性能优于所有上述方法,并且发现它非常快速,简单,并且可以在任何编程语言或集成开发环境中轻松实现。所提出的方法的简单和优雅使其适合于学生或学生在实验室练习中实施。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号