找回密码
 快速注册
搜索
查看: 36|回复: 0

thetamath.com函数图象

[复制链接]

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-7-24 13:38 |阅读模式
GitHub

示例
x2+y2=4
xy=2

thetamath.com的作者写道,他使用了一种Easy Scalable Text Rendering on the GPU
Given a point $P = P_0·s + P_1·t + P_2·(1-s-t)$ in the triangle $(P_0, P_1, P_2)$, the pixel in the triangle is only flipped if $(\frac s2 + t)^2 < t.$ Otherwise the pixel is left alone. This formula is from a Microsoft Research paper by Charles Loop and Jim Blinn and can be derived from the definition of a quadratic segment. The $s$ and $t$ values are known as Barycentric coordinates and are a common way of defining a coordinate system on a triangle.

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 15:41

Powered by Discuz!

× 快速回复 返回顶部 返回列表