racket/htdp

Support for flipping text? for emojis

Open

#161 创建于 2021年10月15日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)Racket (72 fork)github user discovery
good first issueteachpack

仓库指标

Star
 (111 star)
PR 合并指标
 (PR 指标待抓取)

描述

(require 2htdp/image)

(flip-horizontal (text "🦈" 100 "red"))

; ERROR: flip: cannot flip shapes that contain text

is it possible to make flip-horizontal and flip-vertical work with text images in 2htdp/image ? Arguably the color parameter is not needed for emojis. I can think of a few emoji centric games that could be fun to students. 🚣‍♂️ A fun game I can think of is rowing a boat left and right to avoid a shark from underneath or something, and getting flip-horizontal to change the boat facing direction. Thanks

贡献者指南