Plugin: Laser beam - reading laser lines

Laser beam plugin for Obsidian

Laser beam is a plugin designed to enhance your reading experience by utilizing customizable laser lines. These lines are virtual guides meant to improve reading focus and concentration.

laser_beam_plugin_intro

Overview and features

laser_beam_plugin_02

  • Customizable laser lines: You can choose between 2 laser focus types, laser line or laser area, to personalize your reading experience and find what works best for you.

  • The virtual laser lines guide your eyes across the page, line by line, minimizing distractions and keeping you on track.

  • Colors: blue, green, orange, yellow, red, pink, purple (7 colors).

  • You can activate/deactivate the laser line using the command palette or by setting a keyboard shortcut. You can also toggle between laser line and laser area (focus type).

I hope this plugin helps to improve your reading focus and performance (daily study and work tasks).

All the best

Plugin repository: Laser beam

1 Like

tried it:
laser too harsh, so edited json file manually

lag is annoying
had to turn it off

needs work

otherwise good idea, maybe like it better than stille plugin

regards

1 Like

@Yurcee You can adjust the laser intensity with the proper slider (settings tab of the plugin), you don’t have to edit any file manually. After adjusting its intensity, it’ll make the laser a much more comfortable reading line once you find the right setting.

About the lag…
As for the lag, it could be caused by other plugins or programs running in the background. Try closing anything unnecessary or temporarily disabling other plugins to see if that smooths things out.

“Needs work” is valuable information. We’re constantly improving.

Thanks for the feedback.

1 Like

cannot go below .50 on slider

hence resorting to edit the json

1 Like

Below .50 you won’t even notice the line.

I will add it to the list of features to implement - next updates. Maybe till 0.2 or 0.3

Thanks

you can see the line but not the laser effect - i mean the “hairs” of the line

1 Like

Ok thanks again for sharing your opinion/feedback.

1 Like

Same experience here:

  • Laser too bright. Settings don’t allow to dim it enough. 0.1? 0.2?
  • Laser too slow. Even in Sandbox. Laser follows mouse pointer only with noticable delay.
  • Idea makes sense. I would use it, if it didn’t distract so much.

Obsidian 1.6.1. Mac M1. MacOS 14.5

1 Like

Thanks for the feedback.

My comments.

  1. Laser too bright. Settings don’t allow to dim it enough. 0.1? 0.2?

I will add the option to select values below 0.5. Maybe add the option to have just a plain transparent line (no glow).

  1. Laser too slow. Even in Sandbox. Laser follows mouse pointer only with noticable delay.

Well, this is really strange to me. You can check below one screen recording, please notice it was a test (Windows → Obsidian 1.5.12 → screen resolution: 1366x768). I am exaggerating the mouse movements…

laser_beam_plugin_test2

I had to add a function (throttle) to avoid calling the function to reposition the laser thousands of times (but it is a 100ms delay). The 100ms delay is a common setting for this type of throttle. It’s a good balance between responsiveness and smoothness. While a faster update might feel more responsive at first glance, it could lead to the jittery behavior and worse performance.

  1. Idea makes sense. I would use it, if it didn’t distract so much.

Thanks for the comment and taking the time to share your opinion.

I will keep improving laser beam when possible. Here’s the list of things I would like to implement:

  • Add the option to static position (laser won’t follow mouse pointer).
  • Add the option to plain line (no glow)
  • Intensity level → 0.1 or 0.2 (still have to test these values, probably it will disappear the line and it will look really bad, better to use the plain line option).

All the best

1 Like
  1. Having more options makes sense, so that it looks good with different themes or personal preferences. Don’t worry, if it disappears on your device. On others it might just look fine.

  2. Make the throttle adjustable? This would allow users to find the balance that works best on their device.

  3. Static is an interesting idea. I haven’t tried it, but it would be nice to toggle between off/dynamic/static with a hotkey.

1 Like

I hope to have more time this weekend. I’ll see what I can do to improve the plugin. I currently don’t have a Mac to test it after adding each new feature (like I normally do with Windows and Linux). I’ll have to ask some friends, as I did before launching the plugin, to test the new features on Mac. I also hope to rely on tests and feedback from users here on the forum.

possible feature request: add setting for line to be only active over active editor / as with templater /

by the way, mobile performance with regard to lag is good

2 Likes

Update in Progress

Quick preview

laser_beam_next_update_3

Added/Implemented:

  1. Static laser.
  2. Laser beam will follow text cursor (caret). So it can be used while editing text (not only for reading).
  3. Intensity slider will control laser brightness.
  4. Laser width slider will control laser thickness (till 0.3 width).

I have to test the lag on the Mac.

Just posting some news about the update of the plugin. I will have to test more before uploading the new version.

I hope to upload it soon.

All the best

Plugin update 2.1.1

Improvements

  • Laser status: static or dynamic position.
  • Laser intensity (brightness control - slider).
  • Laser line width adjustments (below 0.5 level).
  • Laser will follow the caret/text cursor (static and dynamic status).

You can use laser beam for reading and writing.

Laser preferences

Laser beam preferences

I hope you enjoy

All the best