Skip to content

Instantly share code, notes, and snippets.

Tim Severien timseverien

Block or report user

Report or block timseverien

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

neural-abstract-art-image-sequence.js can be used to download a sequence of images from Abstract Art by a Neural Network.

Using software like VirtualDub, you can import the image sequence and turn it into a video.


Pasting the contents of neural-abstract-art-image-sequence.js in the developer tools console of your favourite browser should work.

timseverien /
Last active Jan 3, 2018
Blender k-means fractions

K-means Fractions Blender Script

This script splits a mesh in pow(CLUSTER_COUNT, ITERATION_COUNT) fractions in pseudo-random shapes.

  1. Select an object
  2. Distribute an amount of random points (SEED_POINT_COUNT) in the mesh of that object
  3. K-means the points into k clusters (CLUSTER_COUNT)
  4. Find the convex hull of the clusters, creating meshes
  5. Remove original object
  6. Go to step 1
timseverien / particles.json
Last active Jul 5, 2017
ParticleJS mask demo
View particles.json
"particles": {
"number": {
"value": 8,
"density": {
"enable": false,
"value_area": 0
"color": {
timseverien / drunk-simulation.js
Created Jul 11, 2015
Execute this on any page and enjoy the simulation
View drunk-simulation.js
injectStyle(`@keyframes wobble {
0% { transform: translate(0, -10px) }
25% { transform: translate(10px, 0) }
50% { transform: translate(0, 10px) }
75% { transform: translate(-10px, 0) }
iterateResursive(document.body.children, applyStyle);
function injectStyle(style) {
timseverien / bump
Last active Oct 17, 2019
A bash script to bump versions for both package.json and bower.json, then publishes to npm
View bump
function bump {
output=$(npm version ${release} --no-git-tag-version)
sed -i ".tmp" -E "s/${search}/${replace}/g" "$1"
rm "$1.tmp"
timseverien / SassMeister-input-HTML.html
Last active Aug 29, 2015
Generated by
View SassMeister-input-HTML.html
<div class="output"></div>
timseverien / SassMeister-input.scss
Last active Aug 29, 2015
Generated by
View SassMeister-input.scss
// ----
// libsass (v3.1.0-beta)
// ----
// To edit shapes, scroll all the way down to the bottom
// Functions used for sorting
timseverien / _circle.scss
Last active Aug 29, 2015
2D renderer in Sass
View _circle.scss
@function circle($obj, $target) {
$color: map-get($obj, color);
$position: map-get($obj, position);
$radius: map-get($obj, radius);
$x: map-get($target, x);
$y: map-get($target, y);
$xd: $x - map-get($position, x);
$yd: $y - map-get($position, y);
timseverien / cipher.js
Created Sep 16, 2014
Substitution ciphering
View cipher.js
* This is the entire source code for the article “Subtitution ciphering in JavaScript”
(function() {
"use strict";
* Cipher namespace, to store all the cyphers
You can’t perform that action at this time.