[Free] AmbientLight - Creates a glowing effect around screen edges

🧩 AmbientLight

An extension for MIT App Inventor 2.
Ambient Light Effect extension that creates a glowing effect around screen edges. Developed by TechHamara using Fast.

:memo: Specifications


:package: Package: io.th.ambientlight
:floppy_disk: Size: 13.38 KB
:gear: Version: 1.0
:iphone: Minimum API Level: 7
:date: Updated On: 2025-05-27T18:30:00Z
:computer: Built & documented using: FAST v2.8.4
:arrow_down: Get aix
:arrow_down: Get aia
:arrow_down: Get apk
:placard: Find more info on GitHub

New Update
Date 06/06/2025

:arrow_down: Get aix V1.1

Docs

ShowTopEdgeOnly

Shows only the top edge

ShowBottomEdgeOnly

Shows only the bottom edge

ShowLeftEdgeOnly

Shows only the left edge

ShowRightEdgeOnly

Shows only the right edge

ShowHorizontalEdgesOnly

Shows only the horizontal edges (top and bottom)

ShowVerticalEdgesOnly

Shows only the vertical edges (left and right)

ShowAllEdges

Shows all edges

HideAllEdges

Hides all edges

Demo

IMG_20250529_161749.jpg





e7a6dd4b-d851-4e74-a0e6-853fab1aef96.gif

Blocks

EnableAmbientLight_Method
DisableAmbientLight_Method
StopRainbowEffect_Method
StopPulseEffect_Method
StartRainbowEffect_Method
StartPulseEffect_Method

New Blocks


RainbowSpeed_Set_Property
RainbowSpeed_Get_Property
LightColor_Set_Property
LightColor_Get_Property
Intensity_Set_Property
Intensity_Get_Property
Thickness_Set_Property
Thickness_Get_Property

Docs

Methods:

AmbientLight has total 6 methods.

StartRainbowEffect

Starts a rainbow color effect that cycles through different colors

StopRainbowEffect

Stops the rainbow color effect

EnableAmbientLight

Activates the ambient light effect around the screen edges

DisableAmbientLight

Deactivates the ambient light effect

StartPulseEffect

Creates a pulsing animation effect for the ambient light

StopPulseEffect

Stops the pulsing animation effect

Setters:

AmbientLight has total 4 setter properties.

RainbowSpeed

Sets the speed of the rainbow color effect (1-20)

  • Input type: number

LightColor

Sets the color of the ambient light effect

  • Input type: number

Thickness

Sets the thickness of the ambient light effect (1-100)

  • Input type: number

Intensity

Sets the intensity of the ambient light effect (1-100)

  • Input type: number

Getters:

AmbientLight has total 4 getter properties.

RainbowSpeed

Sets the speed of the rainbow color effect (1-20)

  • Return type: number

LightColor

Sets the color of the ambient light effect

  • Return type: number

Thickness

Sets the thickness of the ambient light effect (1-100)

  • Return type: number

Intensity

Sets the intensity of the ambient light effect (1-100)

  • Return type: number

Thanks

@TechHamara

Feel free to contact us any quarry or suggestions.

2 Likes

Very good extension!
However, I have a small suggestion: if you could add a function to choose where this effect is displayed (right, left, right-left, etc.), that would be perfect!

Thanks in advance,
Nico

Yes it's good idea.
Next update implement this feature.

1 Like

Hi @nico
Your Suggestion is implemented.

New Update
Date 06/06/2025

:arrow_down: Get aix V1.1

Blocks

Docs

ShowTopEdgeOnly

Shows only the top edge

ShowBottomEdgeOnly

Shows only the bottom edge

ShowLeftEdgeOnly

Shows only the left edge

ShowRightEdgeOnly

Shows only the right edge

ShowHorizontalEdgesOnly

Shows only the horizontal edges (top and bottom)

ShowVerticalEdgesOnly

Shows only the vertical edges (left and right)

ShowAllEdges

Shows all edges

HideAllEdges

Hides all edges

Demo





1 Like