Skip to content

feat: add Light Pollution Observatory with Bortle scale & dark sky ma… - #1030

Open
Anubhutisharma-07 wants to merge 5 commits into
Aditya8369:mainfrom
Anubhutisharma-07:feature/light-pollution-observatory
Open

feat: add Light Pollution Observatory with Bortle scale & dark sky ma…#1030
Anubhutisharma-07 wants to merge 5 commits into
Aditya8369:mainfrom
Anubhutisharma-07:feature/light-pollution-observatory

Conversation

@Anubhutisharma-07

Copy link
Copy Markdown
Contributor

Summary

Implemented a comprehensive Light Pollution Observatory Dashboard for Pollution-Control-Hub to help users understand artificial night-sky brightness, astronomical visibility, ecological impacts, dark-sky locations, and practical mitigation strategies.

What Changed

🌟 Overview

Added an interactive overview featuring:

  • Bortle class selector
  • Visible star count
  • Sky brightness metrics
  • Animated star-field visualization
  • Star visibility comparison chart

📏 Bortle Scale

Added an interactive 9-class Bortle scale explorer with:

  • Bortle class selection
  • Darkness level information
  • Viewing capability comparison
  • Astronomical visibility guidance

🔭 Sky Objects

Added a deep-sky object explorer containing:

  • 15 galaxies, nebulae, and star clusters
  • Object visibility information
  • Bortle-based visibility calculator
  • Filtering based on sky darkness

💡 Light Types

Added comparison of 7 artificial light sources including:

  • LED
  • HPS
  • LPS
  • Other common outdoor lighting technologies

The comparison includes:

  • Blue-light emission
  • Lighting efficiency
  • Relative environmental impact

🐢 Ecology

Added ecological impact analysis covering 8 groups/species:

  • Sea turtles
  • Birds
  • Insects
  • Bats
  • Corals
  • Plants
  • Amphibians
  • Humans

The section highlights how artificial night lighting can affect different organisms.

🗺️ Dark-Sky Sites

Added a dark-sky destination explorer with:

  • 12 worldwide dark-sky sites
  • SVG world map visualization
  • Darkness quality ratings
  • Location comparison

💡 Insights & Mitigation

Added:

  • 6 AI-generated light pollution insights
  • 6 mitigation strategies
  • Actionable recommendations for reducing unnecessary artificial lighting

Files Changed

  • src/components/LightPollutionObservatory.jsx
  • src/App.jsx

Implementation Stats

  • 631 lines changed
  • 7 dashboard tabs
  • 9 Bortle classes
  • 15 deep-sky objects
  • 7 light-source types
  • 8 ecological impact groups
  • 12 dark-sky sites
  • 6 AI insights
  • 6 mitigation strategies
  • Interactive star-field visualization
  • Bortle-based visibility calculator
  • SVG world map visualization

Testing

Verified:

  • Overview rendering
  • Bortle class selection
  • Star-field visualization
  • Star count visualization
  • Bortle scale comparison
  • Sky-object filtering
  • Visibility calculation
  • Light-source comparison
  • Blue-light visualization
  • Ecological impact rendering
  • Dark-sky site visualization
  • World map rendering
  • AI insight rendering
  • Mitigation strategy rendering
  • Application navigation

Impact

This feature provides a centralized observatory for exploring light pollution and its effects on astronomy, ecosystems, and people. It also helps users understand how darkness levels affect night-sky visibility and discover practical approaches for reducing unnecessary artificial light.

Closes #1029

…pping

7-tab dashboard with interactive Bortle scale assessment, 15 sky object
visibility calculator, 7 light source comparison, 8 species ecological
impact analysis, 12 global dark sky sites map, and AI insights on
light pollution mitigation strategies.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@Anubhutisharma-07 is attempting to deploy a commit to the Aditya Mahajan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank You for Your Contribution! 🎉

Hi @Anubhutisharma-07,

Thank you for opening this Pull Request and contributing to our project. We truly appreciate your efforts.

Please make sure that:

  • Your code follows the project's guidelines.
  • You have linked the appropriate issue (if applicable).
  • Screenshots are added for UI/UX changes.
  • Your PR is ready for review.

The maintainer @Aditya8369 will review your PR shortly!

Happy Contributing! 🚀

@github-actions github-actions Bot added the ECSoC26 Contributions considered under ECSoC'26 label Aug 25, 2026
@Aditya8369

Copy link
Copy Markdown
Owner

@Anubhutisharma-07 resolve conflicts

…d HealthImpactDashboard

Merged origin/main into the PR branch and resolved all 3 conflicts in
src/App.jsx by keeping both features: LightPollutionObservatory (from PR)
and HealthImpactDashboard (from main). Both imports, nav items, and routes
are now included.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Anubhutisharma-07

Copy link
Copy Markdown
Contributor Author

resolved please merge it to main

…nd Ocean Acidification

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Anubhutisharma-07

Copy link
Copy Markdown
Contributor Author

please check now

…rd, LightPollutionObservatory, and OceanAcidificationMonitor

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Aditya8369

Copy link
Copy Markdown
Owner

@Anubhutisharma-07 conflicts

…ory and all main features

Merged origin/main into the PR branch and resolved all conflicts in
src/App.jsx by keeping LightPollutionObservatory (from PR) alongside
all features from main (HealthImpactDashboard, NoisePollutionTracker,
SmartAlertsDashboard, etc.). Import, nav item, and route added.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Anubhutisharma-07

Copy link
Copy Markdown
Contributor Author

resolved please merge it to main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ECSoC26 Contributions considered under ECSoC'26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Light Pollution Observatory Dashboard

2 participants