# First Anniversary

2016-03-28, post № 113

**art**, #1 year, #1st, #animated, #animated gif, #birthday, #celebrate, #gif, #one year

J-Blog celebrates its first anniversary!

2016-03-28, post № 113

**art**, #1 year, #1st, #animated, #animated gif, #birthday, #celebrate, #gif, #one year

J-Blog celebrates its first anniversary!

2016-03-27, post № 112

**art**, #animated, #animated gif, #bunny, #celebrating, #celebrating easter, #chicken, #egg, #gif, #present, #rabbit

Little pixel guy wishes you a happy easter!

Extra assets: happy-easter-ii_assets.png, happy-easter-ii_assets.psd

2016-03-26, post № 111

**mathematics**, **programming**, **Pygame**, **Python**, #crown, #generate, #sequence

Pascal’s triangle is an interesting mathematical sequence. It is often written as a triangle, starting with , then . To generate the next row, you add the two numbers above to form another one. So the next row in the sequence is then , and so on (sequence A007318 in OEIS).

One interesting property of Pascal’s triangle is the generation of binomials.

To calculate , you can look at the 𝟦-th row (listed above and when starting to count at 𝟢) and determine

This program generates Pascal’s sequence in a rather unusual shape, looking a bit like a crown.

To get more information about Pascal’s triangle, check out this Wikipedia entry.

- ‘F1’ advances the sequence,
- ‘Space’ takes a screenshot.

Source code: pascals-triangle.py

Extra assets: pascals-triangle-3-fontsize-30.png, pascals-triangle_fail.py, pascals-triangle_pascal.py, pascals-triangle_latex.snippet.html

^{ [1]}

Jonathan Frech's blog; built 2021/04/16 20:21:20 CEST