Graphical programming and entertainment in teaching, Kittenblock instance, random effects

Graphical programming and entertainment in teaching, Kittenblock instance, random effects

Like many students talked to a lot of students are not hard, but could not find the feeling. One thing is undeniable, the same class in a classroom, a teacher is also teaching, learning different. The key question is, bring a sense of advice I can give is to bite the bullet, hold on, no knowledge will not. We will continue to share experiences of graphical programming, hoping to make a topic. If you find useful, give a point like it. Software covered include scratch3.0 (.sb3), Python, Kittenblock.

Program Interpretation: random effects

Knowledge: stamps, circulation, color effects, brushes module, create a text character

Software involved: scratch3.0 (.sb3), Python, Kittenblock.

Program renderings!

 

code!

# -*- coding: utf-8 -*-

import _env, time, random

from kblock import *

Text = Sprite ( "Text")

 

x = 0

 

 

Text .pen_clear ()

while True:

  文字.looks_changeeffectby(1)

Guess you like

Origin www.cnblogs.com/ztg1/p/12440894.html