GithubHelp home page GithubHelp logo

flyorboom / mercator Goto Github PK

View Code? Open in Web Editor NEW
58.0 5.0 9.0 2.67 MB

Mercator Studio is a script that applies basic camera effects for Google Meet. (no longer actively developed)

Home Page: https://x-ing.space/mercator

License: MIT License

JavaScript 28.64% HTML 70.85% Shell 0.45% Makefile 0.06%
google-meet greasyfork chrome-extension firefox-addon webextension

mercator's Introduction

Mercator Studio gives you fine control over your appearance on Google Meet.

Precisely adjust lighting and colors:
· Exposure & Contrast
· Temperature & Tint
· Hue & Saturation
· Sepia & Blur
· Fade & Vignette

Move the focus to where you want it:
· Rotate, Scale, Mirror & Flip
· Horizontal & Vertical Translate
· Pillarbox & Letterbox Crop

Write text & emoji in front of your face:
· Auto-adjusts size to fit any length of text onto the screen.
· Auto-converts \sqrt to √, \times to ×, \cdot to ·, \pm to ±, ^number to ¹², and _number to ₄₂.

Somewhat nice presets:
· Concorde
· Mono
· Matcha
· Deepfry

Scroll, drag, or use arrow keys on the sliders to adjust; Right click or press 0 on them to reset; And hold down Ctrl or Shift for finer steps.

Ctrl + M to open/close the interface. Ctrl + Shift + M to minimize it.

Translated for português, español, italiano, français, & 中文.

Changelog:
· 2.2 Translate from EN into PT, ES, IT, FR, and ZH.
· 2.1 Improve keyboard navigation.
· 2.0 Redesign for Google Meet’s new look.
· 1.19 Add mirroring; Dark mode support.
· 1.18 Make textbox auto-resize; Ctrl or Shift for finer steps.
· 1.17 Fix flickering and window-focus issues.
· 1.16 Add freeze feature (thanks @napsav).
· 1.15 Add toggle to super tiny mode.
· 1.14 Add math auto-convert.
· 1.13 Preserve values across sessions.
· 1.12 Luminance-preserving temperature & tint.
· 1.11 Multiline text input; Rebranded as Mercator Studio for Google Meet.
· 1.10 Sync camera; Capture scroll; Right-click reset; Firefox support.
· 1.9 Add text & emoji input.
· 1.8 Add presets; Matched UI with material design.
· 1.7 Add color balance tools and refined UI.
· 1.6 Add fog.
· 1.5 Add vignettes.
· 1.4 Converted to Chrome extension.
· 1.3 Fix the blur slider's range.
· 1.2 Add cropping.
· 1.1 Add a way to reset everything.
· 1.0 Hello world!

Source code: https://github.com/FlyOrBoom/mercator.

Available for other browsers: https://x-ing.space/mercator.
Unfortunately, temperature & tint filters don't work in Firefox.

(C) Xing Liu 2020–2021, MIT License.

---

This project is no longer in active development. As the pandemic subsides in my area, so has my use of Google Meet, and with it Mercator Studio. At the same time, I think its development has reached a calm plateau.

My fingers are crossed that Mercator will continue working for those still learning or working from home, but I will no longer add new features or patch minor bugs. Though, if there are any changes to Google Meet that breaks the core functionality of Mercator Studio, I will strive to get them fixed.

Until then, thank you for all of your support. I know this year must have been awful for a lot of you. I hope my extension helped alleviate some of your camera anxieties, or caused some laughter as you turned your skin blue.

Best regards,
Xing Liu
2021-06-28

---

Check out other things I’ve made at https://x-ing.space.

mercator's People

Contributors

flyorboom avatar nortio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mercator's Issues

Doesn't work with external camera

Running Meet Studio Mini will work from my laptop's built-in camera, but doesn't apply any effects when used with my external USB camera.

This doesn't seem to be a problem for the Matrix Rain extension also by Xing, it works on both the internal and external camera.

Feature: Persist adjustments across sessions

  • Make the adjustment values available in their own object
  • Make a function for changing the slider values based on the object
  • Utilize the Local Storage API to persist the object

Changing meeting room breaks preview

Changing meeting rooms such as moving from the main room to a breakout room breaks the preview in the extension. Can be briefly fixed by turning the camera on and off.

Weird behavior if letterbox/pillarbox settings are changed after freeze

As per the title, if you turn on freeze with some amount of pillarboxing, then reset the pillarboxing value to 0, the edges of the image will show the current camera output.

I am willing to submit a PR to fix this, however I am unsure of what the behavior should be. Should we take a new image if settings change? Should we just clear everything before drawing the frozen image?

WISH: Position of text

It would neat if one could x-y adjust the position of the text, for instance, so that I can put my name tag at the bottom of my video stream.

PS. Thanks for this work

Using with Visual Effects for Google Meet and then disabling/uninstalling Visual Effects for Google Meet disables recognition of camera

Installed Visual Effects for Google Meet and then installed Mercator Studio (Chrome). Disabling Visual Effects disabled Mercator Studio's recognition of camera. Re-enabling Visual Effects re-enabled camera recognition for Mercator Studio. Uninstalling Visual Effects had same result. Problem persists with uninstall and reinstall of Mercator Studio. If Visual Effects for Google Meet is installed, Mercator Effects will only recognize camera with Visual Effects enabled.

SVG filters not working on firefox

Hey, love the idea for this! It doesn't seem to be working on Firefox for me... I'm using greasemonkey, and it shows the Studio Mini controls, but nothing happens when I adjust them while on google meet. It works fine on your demo site though, which suggests it may be an issue with the greasemonkey script..maybe an old version?

Sharing screen disables camera

Hello, there! I've noticed that when I share my screen, my camera image disappears. Even after disabling sharing, the problem persists.

Input from camera looks fine, but the output from Mercator's Studio flickers

In Google Chrome, the extension works like a charm, and it's really useful to make the scene much brighter and vivid. However, in Microsoft Edge (using Chromium's engine), the output from mercator studio flickers and tears for some reason, but the input shown on the left (directly from the camera) is alright. Any ideas on how I could fix this?

Thanks!

"Realistic" freeze frame

Here's a feature request/idea: Instead of having a single frame of freeze, maybe allow recording of a small fragment of video that can then be played back repeatedly to simulate motion? Maybe even played first forwards then backwards to make sure we have a perfect loop.

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.