ScratchData LogoScratchData
Back to _youtubeN1's profile

Quad Filler 2 v0.1

_Y_youtubeN1•Created July 18, 2015
Quad Filler 2 v0.1
11
5
180 views
View on Scratch

Instructions

This new quad-filling engine corrects a bug with concave triangles, by instead of using angles, it tests if the concave point is in an imaginary triangle made by 3 of the points. It also corrects the intersection calculating.

Description

So far the quad-filler for opaque quads can probably fill any quadrilateral, and the translucent quad-filler can fill all convex quads (apparently) and all self-intersecting quads. Later I need a way of filling concave quads without overlapping lines. NOTICE: I will stop working on this for a while. For now the work will be done here: https://scratch.mit.edu/projects/71313304/

Project Details

Project ID70821324
CreatedJuly 18, 2015
Last ModifiedAugust 23, 2015
SharedJuly 23, 2015
Visibilityvisible
CommentsAllowed