Aliens Among Us - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Works in Progress (https://staging.qb64phoenix.com/forumdisplay.php?fid=9) +---- Thread: Aliens Among Us (/showthread.php?tid=958) |
Aliens Among Us - bplus - 10-10-2022 I just saw a video and hey they are right here in this! Code: (Select All) _Title "Pascal Triangle display exercise 2018-01-13 bplus" To be continued... as soon as I get it coded ;-)) Meanwhile wonder WTH? Oh better yet, try to anticipate where I am going with this. RE: Aliens Among Us - bplus - 10-10-2022 Finally got the code to match a couple other forums but only a few really look like aliens. Wait... how would I know what aliens look like? RE: Aliens Among Us - James D Jarvis - 10-10-2022 You have me intrigued. RE: Aliens Among Us - bplus - 10-10-2022 I better not build it up too much. I saw it here, 55 secs to 1:15 secs, https://www.youtube.com/watch?v=o1eLKODSCqw I checked to see if done anywhere else, ie in code, no but I found this too, https://www.reddit.com/r/visualizedmath/comments/7pgf5n/pascals_triangle_represented_in_binary/ And here is code that draws out the "aliens": Code: (Select All) _Title "Pascal Triangle Aliens Among Us" '2022-10-10 bplus The coefficients are converted from decimal to binary and 1's draw green square, 0's stay black and squares stacked from highest power of 2 to 2^0 times 1 or 0 each column is a coefficient on the given row ie (a + b) ^ row Marvin, Headphones, Janus, L-afant, and Humph! RE: Aliens Among Us - Pete - 10-17-2022 Oh, so that's the other use of Pascal's Triangle! Who'd-a-thunk? Pete |