Skip to content

Commit

Permalink
feat: update relative urls to absolute urls
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushk77 committed Jul 1, 2024
1 parent 3cba1c0 commit 8d8971a
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 64 deletions.
60 changes: 30 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center" id="title">HueFree</h1>

<p align="center"><img src="./resources/images/HueFree.png" alt="project-image"></p>
<p align="center"><img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/HueFree.png?raw=true" alt="project-image"></p>

## Description

Expand Down Expand Up @@ -94,50 +94,50 @@ console.log(transformedColor);
## Examples
### Normal Vision:
<p>
<img src="./resources/images/color_visions/normal_1.png" alt="normal vision output 1" width="300"/>
<img src="./resources/images/color_visions/normal_2.png" alt="normal vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/normal_1.png?raw=true" alt="normal vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/normal_2.png?raw=true" alt="normal vision output 2" width="400"/>
</p>

### Protanopia Vision:
<p>
<img src="./resources/images/color_visions/protanopia_1.png" alt="protanopia vision output 1" width="300"/>
<img src="./resources/images/color_visions/protanopia_2.png" alt="protanopia vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/protanopia_1.png?raw=true" alt="protanopia vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/protanopia_2.png?raw=true" alt="protanopia vision output 2" width="400"/>
</p>

### Deuteranopia Vision:
<p>
<img src="./resources/images/color_visions/deuteranopia_1.png" alt="deuteranopia vision output 1" width="300"/>
<img src="./resources/images/color_visions/deuteranopia_2.png" alt="deuteranopia vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/deuteranopia_1.png?raw=true" alt="deuteranopia vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/deuteranopia_2.png?raw=true" alt="deuteranopia vision output 2" width="400"/>
</p>

### Tritanopia Vision:
<p>
<img src="./resources/images/color_visions/tritanopia_1.png" alt="tritanopia vision output 1" width="300"/>
<img src="./resources/images/color_visions/tritanopia_2.png" alt="tritanopia vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/tritanopia_1.png?raw=true" alt="tritanopia vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/tritanopia_2.png?raw=true" alt="tritanopia vision output 2" width="400"/>
</p>

### Protanomaly Vision:
<p>
<img src="./resources/images/color_visions/protanomaly_1.png" alt="protanomaly vision output 1" width="300"/>
<img src="./resources/images/color_visions/protanomaly_2.png" alt="protanomaly vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/protanomaly_1.png?raw=true" alt="protanomaly vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/protanomaly_2.png?raw=true" alt="protanomaly vision output 2" width="400"/>
</p>

### Deuteranomaly Vision:
<p>
<img src="./resources/images/color_visions/deuteranomaly_1.png" alt="deuteranomaly vision output 1" width="300"/>
<img src="./resources/images/color_visions/deuteranomaly_2.png" alt="deuteranomaly vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/deuteranomaly_1.png?raw=true" alt="deuteranomaly vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/deuteranomaly_2.png?raw=true" alt="deuteranomaly vision output 2" width="400"/>
</p>

### Tritanomaly Vision:
<p>
<img src="./resources/images/color_visions/tritanomaly_1.png" alt="tritanomaly vision output 1" width="300"/>
<img src="./resources/images/color_visions/tritanomaly_2.png" alt="tritanomaly vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/tritanomaly_1.png?raw=true" alt="tritanomaly vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/tritanomaly_2.png?raw=true" alt="tritanomaly vision output 2" width="400"/>
</p>

### Achromatopsia Vision:
<p>
<img src="./resources/images/color_visions/achromatopsia_1.png" alt="achromatopsia vision output 1" width="300"/>
<img src="./resources/images/color_visions/achromatopsia_2.png" alt="achromatopsia vision output 2" width="400"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/achromatopsia_1.png?raw=true" alt="achromatopsia vision output 1" width="300"/>
<img src="https://github.com/piyushk77/HueFree/blob/main/resources/images/color_visions/achromatopsia_2.png?raw=true" alt="achromatopsia vision output 2" width="400"/>
</p>

## API Documentation
Expand Down Expand Up @@ -176,8 +176,8 @@ console.log(visionList);
```

#### Output

![getVisions Output](./resources/images/method_outputs/getVisions.png)
https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/getVisions.png?raw=true
![getVisions Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/getVisions.png?raw=true)


### `getVisionDetail(vision, obj (Optional))`
Expand All @@ -200,7 +200,7 @@ console.log(visionDetails);

#### Output

![getVisionDetail Output](./resources/images/method_outputs/getVisionDetail.png)
![getVisionDetail Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/getVisionDetail.png?raw=true)

### `changeVision(target, visionType, obj (Optional))`

Expand All @@ -224,7 +224,7 @@ huefree.changeVision(elementId, visionType);

#### Output

![changeVision Output](./resources/images/method_outputs/changeVision.png)
![changeVision Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/changeVision.png?raw=true)

### `changeVisionRecursive(target, visionType, obj (Optional))`

Expand All @@ -248,9 +248,9 @@ huefree.changeVisionRecursive(element, visionType);

#### Output
##### Before
![changeVisionRecursive Output](./resources/images/method_outputs/changeVisionRecursive1.png)
![changeVisionRecursive Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/changeVisionRecursive1.png?raw=true)
##### After
![changeVisionRecursive Output](./resources/images/method_outputs/changeVisionRecursive2.png)
![changeVisionRecursive Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/changeVisionRecursive2.png?raw=true)

### `getCustomVisions(vision1, vision2, vision3 ...)`

Expand All @@ -272,7 +272,7 @@ console.log(customObject);

#### Output

![getCustomVisions Output](./resources/images/method_outputs/getCustomVisions.png)
![getCustomVisions Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/getCustomVisions.png?raw=true)

### `stringToRgb(color)`

Expand All @@ -294,7 +294,7 @@ console.log(rgb);

#### Output

![stringToRgb Output](./resources/images/method_outputs/stringToRgb.png)
![stringToRgb Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/stringToRgb.png?raw=true)

### `rgbToString(color)`

Expand All @@ -316,7 +316,7 @@ console.log(rgbString);

#### Output

![rgbToString Output](./resources/images/method_outputs/rgbToString.png)
![rgbToString Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/rgbToString.png?raw=true)

### `linearize(color)`

Expand All @@ -337,7 +337,7 @@ console.log(rgbLinear);

#### Output

![linearize Output](./resources/images/method_outputs/linearize.png)
![linearize Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/linearize.png?raw=true)

### `deLinearize(color)`

Expand All @@ -358,7 +358,7 @@ console.log(sRGB);

#### Output

![deLinearize Output](./resources/images/method_outputs/deLinearize.png)
![deLinearize Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/deLinearize.png?raw=true)

### `colorTransform(transMat, rgbMat)`

Expand All @@ -385,7 +385,7 @@ console.log(transRgb);

#### Output

![colorTransform Output](./resources/images/method_outputs/colorTransform.png)
![colorTransform Output](https://github.com/piyushk77/HueFree/blob/main/resources/images/method_outputs/colorTransform.png?raw=true)

## Contributing

Expand Down Expand Up @@ -442,4 +442,4 @@ We welcome contributions to HueFree! If you'd like to contribute, please follow

## License

This project is licensed under the [GNU General Public License Version 3](./LICENSE). See the LICENSE file for more details.
This project is licensed under the [GNU General Public License Version 3](https://github.com/piyushk77/HueFree/blob/main/LICENSE). See the LICENSE file for more details.
2 changes: 1 addition & 1 deletion docs/colorMethods.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h1 class="page-title">colorMethods.js</h1>

<footer class="layout-footer">
<div class="container">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jul 01 2024 19:35:13 GMT+0530 (India Standard Time)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jul 01 2024 23:05:11 GMT+0530 (India Standard Time)
</div>
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -2747,7 +2747,7 @@ <h4>Source</h4>

<footer class="layout-footer">
<div class="container">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jul 01 2024 19:35:13 GMT+0530 (India Standard Time)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jul 01 2024 23:05:11 GMT+0530 (India Standard Time)
</div>
</footer>

Expand Down
Loading

0 comments on commit 8d8971a

Please sign in to comment.