Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2026 QuasarApp Group DOO
# Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
# see the accompanying LICENSE file.

name: Build and Test

# Builds the OpenSimplex2 CMake project and runs its internal `test` target.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2026 QuasarApp Group DOO - LGPL-3.0, see the LICENSE file.

# C build artifacts
*.o
test_OpenSimplex2F
Expand Down
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2026 QuasarApp Group DOO - LGPL-3.0, see the LICENSE file.

[submodule "submodule/CMake"]
path = submodule/CMake
url = https://github.com/QuasarApp/CMake.git
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# Copyright (C) 2025-2026 QuasarApp.
# Distributed under the Unlicense, see the accompanying UNLICENSE file.
# Copyright (C) 2026 QuasarApp Group DOO.
# Distributed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
# see the accompanying LICENSE file.
#

cmake_minimum_required(VERSION 3.19)
Expand Down
322 changes: 201 additions & 121 deletions LICENSE

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#
# Copyright (C) 2019-2020 KdotJPG (original work, previous license:
# CC0 1.0 Universal, public domain dedication).
#
# Copyright (C) 2026 QuasarApp Group DOO
# Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
# see the accompanying LICENSE file.
#

CFLAGS=-Wall -Wextra --pedantic -O3
# CFLAGS=-Wall -Wextra --pedantic -g -fsanitize=undefined
Expand Down
9 changes: 9 additions & 0 deletions OpenSimplex2F.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2019-2020 KdotJPG (original work, previous license:
* CC0 1.0 Universal, public domain dedication).
*
* Copyright (C) 2026 QuasarApp Group DOO
* Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
* see the accompanying LICENSE file.
*/

/**
* K.jpg's OpenSimplex 2, faster variant
*
Expand Down
9 changes: 9 additions & 0 deletions OpenSimplex2F.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2019-2020 KdotJPG (original work, previous license:
* CC0 1.0 Universal, public domain dedication).
*
* Copyright (C) 2026 QuasarApp Group DOO
* Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
* see the accompanying LICENSE file.
*/

#ifndef OpenSimplex2F_h__
#define OpenSimplex2F_h__

Expand Down
24 changes: 0 additions & 24 deletions UNLICENSE

This file was deleted.

7 changes: 7 additions & 0 deletions glsl/OpenSimplex2.glsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (C) 2019-2020 KdotJPG (original work, previous license:
// CC0 1.0 Universal, public domain dedication).
//
// Copyright (C) 2026 QuasarApp Group DOO
// Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
// see the accompanying LICENSE file.

//////////////// K.jpg's Re-oriented 4-Point BCC Noise (OpenSimplex2) ////////////////
////////////////////// Output: vec4(dF/dx, dF/dy, dF/dz, value) //////////////////////

Expand Down
7 changes: 7 additions & 0 deletions glsl/OpenSimplex2S.glsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (C) 2019-2020 KdotJPG (original work, previous license:
// CC0 1.0 Universal, public domain dedication).
//
// Copyright (C) 2026 QuasarApp Group DOO
// Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
// see the accompanying LICENSE file.

/////////////// K.jpg's Re-oriented 8-Point BCC Noise (OpenSimplex2S) ////////////////
////////////////////// Output: vec4(dF/dx, dF/dy, dF/dz, value) //////////////////////

Expand Down
7 changes: 7 additions & 0 deletions hlsl/OpenSimplex2.hlsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (C) 2019-2020 KdotJPG (original work, previous license:
// CC0 1.0 Universal, public domain dedication).
//
// Copyright (C) 2026 QuasarApp Group DOO
// Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
// see the accompanying LICENSE file.

#ifndef __bcc_noise_4_hlsl_
#define __bcc_noise_4_hlsl_

Expand Down
7 changes: 7 additions & 0 deletions hlsl/OpenSimplex2S.hlsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (C) 2019-2020 KdotJPG (original work, previous license:
// CC0 1.0 Universal, public domain dedication).
//
// Copyright (C) 2026 QuasarApp Group DOO
// Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
// see the accompanying LICENSE file.

#ifndef __bcc_noise_8_hlsl_
#define __bcc_noise_8_hlsl_

Expand Down
5 changes: 3 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# Copyright (C) 2025-2026 QuasarApp.
# Distributed under the Unlicense, see the accompanying UNLICENSE file.
# Copyright (C) 2026 QuasarApp Group DOO.
# Distributed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
# see the accompanying LICENSE file.
#

get_filename_component(CURRENT_PROJECT_DIR ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
6 changes: 6 additions & 0 deletions tests/test_OpenSimplex2F.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (C) 2026 QuasarApp Group DOO
* Licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0),
* see the accompanying LICENSE file.
*/

#include <stdio.h>
#if ((__STDC_VERSION__ >= 199901L) || (_MSC_VER))
#include <stdint.h>
Expand Down
Loading