资 源 简 介
对于下雪的景象大家可能都不陌生,我们还是用VB来制作一个下雪的景象吧。其实制作这样一个下雪的景象并不复杂,它的原理是首先在底色为黑色的屏幕上随机画出许多白点(雪花),然后使这些雪花不断地向下移动(重画),反复循环,就成功地模拟了下雪的景象。下面是这个小程序,你可以修改其中的一些数据调整雪花的密度和雪花落下的快慢。-The snow scene you may not be familiar with, we still use VB to create a snow scene of it. In fact, the production of such a scene of snow is not complicated, it is the first principle of a black background for the screen to draw a random number of white spots (snow), and then make these snowflakes down constantly (re-drawing), repeated cycle, on the successful simulation of the snow scene. The following is a small program, you can modify some of the data to adjust the density of snowflakes and the speed of falling snowflakes.