How heitorxr/bicos-de-pinguins-animacao works
“Bicos de pinguins” is an R project about Simpson’s paradox: it compares bill-length and bill-depth correlations across all penguins and within known species, and presents the comparison as an animation. The documented generation path is data preparation and correlations, graph/frame creation, then animation export. The repository also contains an app and a separate workflow for illustrated PDF support pages. The README identifies the main R responsibilities; the sampled source shows the PDF-page builder calling the image-color and measurement-translation helpers. Other runtime connections are not asserted where source was not sampled.
Main entry points: diagramar_paginas.py Page composition · modelo.R Data and correlations · graficos.R Graphs and frames · gerar_animacao.R Animation export
Components 16
Analysis
- Penguin data
dados/pinguins.csv - Data and correlations
R/modelo.R - Project preparation
preparar.R
Animation
- Graphs and frames
R/graficos.R - Animation export
gerar_animacao.R - Animation videos
pinguins_movimento_continuo.mp4
Application
- App entry
app.R - App launcher
iniciar.R
Presentation pages
- Page composition
roteiro/diagramar_paginas.py - Palette backgrounds
roteiro/padronizar_cores.py - Measure translation
roteiro/traduzir_medidas.py - Species summaries
roteiro/resumo_especies.csv - Overall summary
roteiro/resumo_geral.csv - Graph palette
roteiro/paleta_graficos.csv - Support-page PDF
roteiro/paginas_de_apoio_cores_conferidas.pdf
Other components
- User
Connections 10
- Penguin data → Data and correlations: prepares and correlates
README.md - Data and correlations → Graphs and frames: supplies analysis
README.md - Graphs and frames → Animation export: provides frames
README.md - Animation export → Animation videos: exports animation
README.md - Page composition → Palette backgrounds: calls
roteiro/diagramar_paginas.py - Page composition → Measure translation: calls
roteiro/diagramar_paginas.py - Page composition → Species summaries: reads
roteiro/diagramar_paginas.py - Page composition → Overall summary: reads
roteiro/diagramar_paginas.py - Page composition → Graph palette: reads
roteiro/diagramar_paginas.py - Page composition → Support-page PDF: writes
roteiro/diagramar_paginas.py