ScratchData LogoScratchData
Back to MasterOfArithmetic's profile

Triangle Filler

MAMasterOfArithmetic•Created January 13, 2015
Triangle Filler
2
1
28 views
View on Scratch

Instructions

Drag each point around with the triangle. You can see the coordinates on the left. Press space to fill the triangle. The variable on the bottom is how long it took, so you can compare it to others.

Description

I came up with the algorithm my self. How it works: 1) It figures out the line between each point. 2) For each point along that line: 3) Draw a point between that point and the point on the triangle opposite of the line.

Project Details

Project ID42874872
CreatedJanuary 13, 2015
Last ModifiedJanuary 25, 2015
SharedJanuary 13, 2015
Visibilityvisible
CommentsAllowed