Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3577243
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-11-29 17:22:18

python学习交流Q群:770699889 ###from PIL import Image,ImageDraw,ImageFont#像素放大尺寸img_king_size = 20#输入内容text = '这是xx的女神'#设置字体font =ImageFont.truetype('simsun.ttc',img_king_size)#图片路径img_path = './king.jpg'#打开图片img = Image.........【阅读全文】

阅读(457) | 评论(0) | 转发(0)

发布时间:2022-11-25 16:00:21

//导入包import * as THREE from 'three';import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';import * as dat from 'dat.gui';import Stats from 'three/addons/libs/stats.module.js';let scene,camera,renderer//场景scene = new THREE.Scene();//坐标抽.........【阅读全文】

阅读(924) | 评论(0) | 转发(0)

发布时间:2022-11-23 17:04:22

public void judge() {for(t = newchessX,s = newchessY,count = 0; t >=0 && s >= 0 && count <= 4; t--,s--,count++) {comeX = t;comeY = s;}for(t = newchessX, s = newchessY, count = 0; t <=14 && s >= 0 && count <= 4; t++, s--, count++) {toX = t;toY = s;}if(winFLAG == .........【阅读全文】

阅读(479) | 评论(0) | 转发(0)

发布时间:2022-11-22 18:08:42

package com.cy.xgsm.controller;import java.math.BigDecimal;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Qualifier;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.a.........【阅读全文】

阅读(984) | 评论(0) | 转发(0)

发布时间:2022-11-21 17:33:15

import randomimport pygame'''植物'''class Plant(pygame.sprite.Sprite):def __init__(self, WIDTH=640, HEIGHT=500):pygame.sprite.Sprite.__init__(self)self.WIDTH = WIDTHself.HEIGHT = HEIGHT# 统计分数时用的self.added_score = Falseself.speed = 5# self.imgs = [.........【阅读全文】

阅读(516) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册