openframeworks / openframeworks/openFrameworks

multidimensional noise output

Open
#1,134 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core feature
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

theo's #1133 made me think about ways that i use noise regularly that might also be abstracted.

i would also like to see versions of noise that return multidimensional results. normally i do something like:

ofVec2 a(ofSignedNoise(t, 0), ofSignedNoise(0, t)); // 1D -> 2D
ofVec2 b(ofSignedNoise(x, 0), ofSignedNoise(0, y)); // 2D -> 2D
ofVec3 c(ofSignedNoise(t, 0, 0), ofSignedNoise(0, t, 0), ofSignedNoise(0, 0, t)); // 1D -> 3D
ofVec3 d(ofSignedNoise(x, 0, 0), ofSignedNoise(0, y, 0), ofSignedNoise(0, 0, (x + y) / 2)); // 2D -> 3D

and it would be good to spend some time making sure these are really good ways of doing it, then implement them inside some functions like ofSignedNoise2() and ofSignedNoise3() (for example).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing ofSignedNoise functions and the examples in the issue. The proposed work needs agreement on useful multidimensional outputs and APIs such as ofSignedNoise2() and ofSignedNoise3(); done means an agreed design and implementation, but no files or tests are identified here.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.