Code Monkey home page Code Monkey logo

love-thy-pixels's Introduction

๐Ÿ‘พ Love thy Pixels ๐Ÿ‘พ


Overview

This repo contains material from part of a week-long program at Ohio State for middle schoolers. This particular activity uses ltpix (Love thy Pixels), a pedagogical software package designed to give the students hands-on experience in coding and image processing. And because they make the most beautiful images, the subject matter is stars and galaxies!


๐ŸŽข Activity Outline

(1) Intro to Jupyter Notebooks and Python

(2) Intro to Images

(3) Galaxy Images!

(4) Galaxy Colors and Ages!

(5) Exploring the Sky


๐Ÿ‘ฉโ€๐Ÿ’ป Code Example

from ltpix import AstroImage

# Enter the galaxy number (1, 2, 3, or 4) into 
# the parentheses like this AstroImage(<galaxy number>)
galaxy = AstroImage(2) 

galaxy.display_rgb_image()

galaxy_2

๐ŸŽจ Extracting information from star colors!

Star clusters are groups of stars that are born at approximately the same moment in time. Interestingly, it turns out that the average color of such a group of stars is directly related to how old they are! Of course, understanding the details of this relationship is an entire field of research. Nevertheless, we can learn a lot about star clusters by measuring their colors. The above images are simulations, created using ArtPop, which show how the color of a population of stars evolves with time.

love-thy-pixels's People

Contributors

daniellaro avatar dependabot[bot] avatar johnnygreco avatar kirstencasey avatar

Watchers

 avatar  avatar

Forkers

daniellaro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.