Coder Social home page Coder Social logo

ofxpoissonfill's Introduction

🎨 Art

I make art with code.

Procedurally generated Chinese landscape painting.

____________________________________________________________
 HTML    ★ 5466
Procedurally generated paintings of nonexistent
flowers.
____________________________________________________________
 JavaScript    ★ 503
A man. A horse. A nature.
____________________________________________________________
 Python    ★ 167

🀄️ Language design

I designed 文言 or wenyan-lang, a programming language in Classical Chinese, and some others.

文言文編程語言 A programming language for the ancient
Chinese.
____________________________________________________________
 TypeScript    ★ 19447
文言陰符 An Introduction to Programming in Wenyan
Language
____________________________________________________________
 JavaScript    ★ 315
A tiny programming language that transpiles to
C, C++, Java, TypeScript, Python, C#, Swift, Lua
and WebAssembly 🚀
____________________________________________________________
 C    ★ 733
Programmable Scalable Vector Graphics -- drawings
that draw themselves
____________________________________________________________
 TypeScript    ★ 297

🖌 Typography

I make fonts and typography experiments (mostly with Chinese characters)

Describing Chinese Characters with Recursive Radical
Packing Language (RRPL)
____________________________________________________________
 JavaScript    ★ 849
齊伋體 - typeface from Ming Dynasty woodblock printed
books
____________________________________________________________
 Python    ★ 1252
Using pix2pix to convert scribbles to Chinese
calligraphy
____________________________________________________________
 JavaScript    ★ 114
Convert Chinese Characters to Single-Line Fonts
using Computer Vision
____________________________________________________________
 Python    ★ 123

🛠 Other cool stuff

Apps, libraries, toolkits, algorithms, and more!

Convert images to vectorized line drawings for
plotters.
____________________________________________________________
 Python    ★ 744
A new algorithm for retrieving topological skeleton
as a set of polylines from binary images
____________________________________________________________
 C    ★ 488
A modern IDE for writing classical Chinese poetry
格律诗编辑程序
____________________________________________________________
 JavaScript    ★ 456
Non-trivial programs in hand-written WebAssembly

____________________________________________________________
 WebAssembly    ★ 77
A thermal-printer-oriented, 1-bit graphics rasterizer
for 2D and 3D
____________________________________________________________
 C    ★ 71
Interactive grand unified timeline of 30,800 ancient
Chinese people / 古人全表
____________________________________________________________
 JavaScript    ★ 110
A linear algebra library for JavaScript 🔢
____________________________________________________________
 JavaScript    ★ 46
Collection of polygon data in various formats
for testing computational geometry algorithms.

____________________________________________________________
 Processing    ★ 46

The list above is a small selection of my favorite projects. There're a lot more on the Repos page. Check out my portfolio and my Glitch too!

This README is generated with a Python script and Github Actions. How it works

ofxpoissonfill's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ofxpoissonfill's Issues

does it work for non power of two texture sizes?

Thanks for this great addon!
I've noticed it sometimes cause an offset of the original image if using arbitrary texture sizes, like 1920x1080
and using power of two textures, like 512 x 512 the effect mantains the alignment with the original scene.
is it possible to use different texture values?
Thank you

Branching in the Shader

Hi there! Thanks for making this addon. I was working on porting it to SparkAR but I noticed there is quite a lot of branching in the shader, especially with the G and h1 functions. Apologies for the unsolicited issues, but I wonder if you might increase performance by using arrays instead of the branching if statements.

  float h1[5] = {0.1507, 0.6836, 1.0334, 0.6836, 0.1507};
  float G[3] = {0.0312, 0.7753, 0.0312};

And then later on, you can also simplify this calculation be only calculating the weight once:

float weight = h1[dx + 2] * h1[dy + 2];
acc += col * weight;

The last parts of each section of the shader could remove the check for if acc.a == 0.0 to also read something like:

float mask = step(0.00001, acc.a);
fragColor= vec4(acc.rgb / acc.a, 1.0) * mask + acc * (1.0-mask);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.