@quenty/color3utils 11.19.0-canary.ae8d76d.0 → 11.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [11.19.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/color3utils@11.18.3...@quenty/color3utils@11.19.0-canary.ae8d76d.0) (2025-05-10)
6
+ # [11.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/color3utils@11.18.3...@quenty/color3utils@11.19.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/color3utils",
3
- "version": "11.19.0-canary.ae8d76d.0",
3
+ "version": "11.19.0",
4
4
  "description": "Utility methods for Roblox Color3 values",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,12 +28,12 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@quenty/blend": "12.19.0-canary.ae8d76d.0",
32
- "@quenty/loader": "10.8.3",
33
- "@quenty/maid": "3.4.3",
34
- "@quenty/math": "2.7.3",
35
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
36
- "@quenty/valueobject": "13.18.0-canary.ae8d76d.0"
31
+ "@quenty/blend": "^12.19.0",
32
+ "@quenty/loader": "^10.9.0",
33
+ "@quenty/maid": "^3.5.0",
34
+ "@quenty/math": "^2.7.3",
35
+ "@quenty/rx": "^13.18.0",
36
+ "@quenty/valueobject": "^13.18.0"
37
37
  },
38
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
38
+ "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
39
39
  }
@@ -79,4 +79,4 @@ function LuvColor3Utils.toColor3(luv: LUVColor3)
79
79
  return Color3.new(math.clamp(r, 0, 1), math.clamp(g, 0, 1), math.clamp(b, 0, 1))
80
80
  end
81
81
 
82
- return LuvColor3Utils
82
+ return LuvColor3Utils
@@ -3,10 +3,11 @@
3
3
  @class LuvColor3Utils.story
4
4
  ]]
5
5
 
6
- local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
6
+ local require =
7
+ require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
7
8
 
8
- local Maid = require("Maid")
9
9
  local LuvColor3Utils = require("LuvColor3Utils")
10
+ local Maid = require("Maid")
10
11
 
11
12
  return function(target: Instance?)
12
13
  local maid = Maid.new()
@@ -14,21 +15,21 @@ return function(target: Instance?)
14
15
  local start = Color3.fromRGB(184, 127, 100)
15
16
  local finish = Color3.fromRGB(16, 60, 76)
16
17
 
17
- for i=0, 100 do
18
+ for i = 0, 100 do
18
19
  local frame = Instance.new("Frame")
19
- frame.BackgroundColor3 = LuvColor3Utils.lerp(start, finish, i/100)
20
- frame.Size = UDim2.fromScale(1/(100 + 1), 0.5)
21
- frame.Position = UDim2.fromScale(i/(100 + 1), 0)
20
+ frame.BackgroundColor3 = LuvColor3Utils.lerp(start, finish, i / 100)
21
+ frame.Size = UDim2.fromScale(1 / (100 + 1), 0.5)
22
+ frame.Position = UDim2.fromScale(i / (100 + 1), 0)
22
23
  frame.BorderSizePixel = 0
23
24
  frame.Parent = target
24
25
  maid:GiveTask(frame)
25
26
  end
26
27
 
27
- for i=0, 100 do
28
+ for i = 0, 100 do
28
29
  local frame = Instance.new("Frame")
29
- frame.BackgroundColor3 = start:Lerp(finish, i/100)
30
- frame.Size = UDim2.fromScale(1/(100 + 1), 0.5)
31
- frame.Position = UDim2.fromScale(i/(100 + 1), 0.5)
30
+ frame.BackgroundColor3 = start:Lerp(finish, i / 100)
31
+ frame.Size = UDim2.fromScale(1 / (100 + 1), 0.5)
32
+ frame.Position = UDim2.fromScale(i / (100 + 1), 0.5)
32
33
  frame.BorderSizePixel = 0
33
34
  frame.Parent = target
34
35
  maid:GiveTask(frame)
@@ -37,4 +38,4 @@ return function(target: Instance?)
37
38
  return function()
38
39
  maid:DoCleaning()
39
40
  end
40
- end
41
+ end
@@ -340,12 +340,12 @@ end
340
340
  LuvUtils.m = {
341
341
  { 3.240969941904521, -1.537383177570093, -0.498610760293 },
342
342
  { -0.96924363628087, 1.87596750150772, 0.041555057407175 },
343
- { 0.055630079696993, -0.20397695888897, 1.056971514242878 }
343
+ { 0.055630079696993, -0.20397695888897, 1.056971514242878 },
344
344
  }
345
345
  LuvUtils.minv = {
346
346
  { 0.41239079926595, 0.35758433938387, 0.18048078840183 },
347
347
  { 0.21263900587151, 0.71516867876775, 0.072192315360733 },
348
- { 0.019330818715591, 0.11919477979462, 0.95053215224966 }
348
+ { 0.019330818715591, 0.11919477979462, 0.95053215224966 },
349
349
  }
350
350
  LuvUtils.refY = 1.0
351
351
  LuvUtils.refU = 0.19783000664283
@@ -353,4 +353,4 @@ LuvUtils.refV = 0.46831999493879
353
353
  LuvUtils.kappa = 903.2962962
354
354
  LuvUtils.epsilon = 0.0088564516
355
355
 
356
- return LuvUtils
356
+ return LuvUtils
@@ -30,10 +30,10 @@ end
30
30
  function LuvVectorColor3Utils.toColor3(luvV3: Vector3): Color3
31
31
  -- Transform out of this space
32
32
  return Color3.new(unpack(LuvUtils.hsluv_to_rgb({
33
- (luvV3.X - 0.5)*200,
34
- (luvV3.Y - 0.5)*200,
35
- (luvV3.Z - 0.5)*200})
36
- ))
33
+ (luvV3.X - 0.5) * 200,
34
+ (luvV3.Y - 0.5) * 200,
35
+ (luvV3.Z - 0.5) * 200,
36
+ })))
37
37
  end
38
38
 
39
- return LuvVectorColor3Utils
39
+ return LuvVectorColor3Utils